As of NX 8 and PARTsolutions v9.08 the type of attributes available in the template is evaluated and adjusted during the export.[175]
The attribute type from the template is evaluated, and is set a) either with the default value „String“, if there was no type explicitly determined for the respective attribute in the block [CadDocumentAttributes], or b) with the determined type.
If, for example, the attribute "ERP_MASSE" is transferred without type definition, then it appears as type "String" in NX.
The following describes how to set the attribute type in the block [CadDocumentAttributes]:
At first the attribute is set with the desired value. The value can be fixed or be specified by an expression like "?_ATTR("NB")" for example.
Then, in a second line the desired category is set.
[CadDocumentAttributes] TestAttribute=42 TestAttribute.custom=Category.TestCategory TestAttribute2=1 TestAttribute2.custom=Category.TestCategory
Optionally you can set the attribute type, behind the category, separated by comma. If no type is specified, then the type will be "String" by default.
[CadDocumentAttributes] TestAttribute=42 TestAttribute.custom=Category.TestCategory, Type.Integer TestAttribute2=1 TestAttribute2.custom=Category.TestCategory, Type.number
The following "custom" type values are supported ("string" is default):
After part export the attribute is found in the "Component Properties" dialog box, in the specified category "TestCategory" (name exemplarily).


