API Documentation > Features > Object ProUdf > Function ProUdfDimensionNameGet
Function ProUdfDimensionNameGet
Description
Retrieves the dimension name in a user-defined feature (UDF). This is the symbol of the dimension in the original model at the time the group was created. It is the same in all UDFs made from the same group. This symbol is needed when placing a new instance of the UDF using Creo Parametric TOOLKIT.
If you want the unique dimension symbol, use ProDimensionSymbolGet.
Replacement in Object TOOLKIT:
Synopsis
#include <ProUdf.h>
ProUdfDimensionNameGet
(
/* (In)
The UDF group.
*/
ProDimension* dimension
/* (In)
The dimension.
*/
ProLine name
/* (Out)
The symbol for the dimension in the UDF reference model.
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
The group is not a UDF.
Other
The visit was terminated by an error from the visit function
User Guide References
Was this helpful?