SMARTHolechart > Working with SMARTHolechart > To Define UDFs and Local Groups
To Define UDFs and Local Groups
With the option UDF_RECOGNITION you can control which types of groups should be recognized by SMARTHolechart. All parameters from your group can be output. To output the feature dimensions in a group you have to link these parameters to the geometry using relations.
To detect groups by SMARTHolechart there must be a position reference inside your group. You can use one of two position references:
Datum point—Only the position is shown.
Coordinate system—The position, the direction, and the orientation can be displayed. Use the options UDF_DIR and UDF_ORIENT to define the direction and the orientation.
* 
All features and the geometry in a detected group are not considered for the geometry-based hole evaluation. If you still want to recognize some geometry from your group, add the parameter BUW_HC_USE to the corresponding feature.
UDF_RECOGNITION = NO
No groups are detected by SMARTHolechart.
UDF_RECOGNITION = BUW
Define the following parameters to enable group detection with SMARTHolechart:
BUW_UDF_NAME—Sets the hole type name.
BUW_REF—Sets the position reference. The value of this parameter is not used.
NUMBER—If more than one hole type is defined in one UDF, you must set a number of different hole types in the UDF. Each hole type requires a position reference.
BUW_HC_UDF_DIR—(optional) If not set, the default from UDF_DIR is used.
BUW_HC_UDF_ORIENT—(optional) If not set, the default from UDF_ORIENT is used.
When one hole type is in a group, the BUW_REF and BUW_UDF_NAME are the only required parameters. All features in the group are considered for evaluation:
BUW_REF
BUW_UDF_NAME
NUMBER
Group TESTUDF
Extrude 1
UDFCSYS1
REF 1
TESTUDF1
Extrude 2
UDFCSYS2
When there are multiple hole types in a single group the BUW_REF, BUW_UDF_NAME, and NUMBER parameters are required:
BUW_REF
BUW_UDF_NAME
NUMBER
Group TESTUDF
Extrude 1
TESTUDF1
1
UDFCSYS1
REF 1
TESTUDF1
1
Extrude 2
TESTUDF2
2
UDFCSYS2
REF 2
TESTUDF2
2
UDF_RECOGNITION = ALL
Under the BUW groups described above, all groups created by a user-defined feature (UDF) are detected. There has to be a position reference (point or coordinate system) inside your UDF. The first reference is taken as position reference.
You must add a UDF with the name of your UDF to the Hole types/UDF list.
All parameters and variable dimensions from your UDF can be output.