For the attribute mapping you can group the single attributes in categories and optionally assign an attribute type.
Perform the settings as follows:
At first, in the block [CadDocumentAttributes], the attribute is created with the desired value. The value can be fixed or be specified using an expression such as "?_ATTR("NB")" for example.
[CadDocumentAttributes] TestAttribute=42 TestAttribute.custom=Category.TestCategory, Type.Integer TestAttribute2=1 TestAttribute2.custom=Category.TestCategory, Type.number
Then the desired category is created using the following syntax.
CREATOR.custom=Category.Testcategory
Optionally, after the category, the attribute type can be specified separated by comma. If no type is specified, the type will be "String" by default.
The following "custom" type values are supported (string is "default"):
CREATOR.custom=Category.Testcategory, Type.Integer
After the part export, the attribute can be found in NX under "Component Properties " in the created category "TestCategory ".