Group Information
Functions Introduced
The function ProUdfNameGet() returns the name of the group. For a local group, this is the name assigned upon creation. For a UDF-created group, this is the name of the UDF file. If the UDF is an instance in a UDF family table, the function also returns the instance name.
The function ProGroupFeatureVisit() traverses the members of the feature group. The function ProGroupFeaturesCollect() returns an array containing the feature handles.
The function ProUdfDimensionVisit() traverses the variable dimensions used in the creation of the UDF (this is only applicable to UDF-created groups). The function ProUdfDimensionsCollect() returns an array of the variable dimensions. The variable dimensions are the dimensions that Creo+ prompts for when you create the UDF.
The function ProUdfDimensionNameGet() returns the original dimension symbol for the variable dimension in the UDF. This symbol is different from the symbol assigned to the dimension in the group.
Note:
 
In Creo+ 6.0.0.0 and later, for the function ProUdfDimensionNameGet(), it is mandatory to pass the input argument udf as ProGroup object type. If you pass any other object type, the function returns the PRO_TK_BAD_CONTEXT error.
Est-ce que cela a été utile ?