*aic_classify

Classifies selected parts by predicting their label and creating part sets.

Syntax

*aic_classify classifier trained_file_name mark_id certainty_ratio

Type

HyperMesh Tcl Modify Command

Description

This command classifies parts by predicting their label and creating part sets. Labels are assigned to all parts selected for classification even if some of them have no obvious similarities to the original manually assigned label contents used for training.

Inputs

classifier
The name of the classifier, that is, the name of the folder containing the file defined in trained_file_name.
trained_file_name
The trained model, that is, the file containing the training data.
mark_id
The ID of the mark containing the part entities to be classified. Valid values are 1 and 2.
certainty_ratio
Valid values between 0 and 1. Default is 0.8.

Examples

To classify parts ID 104, 152, and 1858 using the CarDemo classifier and CarDemo_1.aic trained model:
*createmark parts 1 104 152 1858
*aic_classify CarDemo "CarDemo_1.aic" 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2025