Material(is3dpart)=?context.TranslateStringInGlobalOptionArrayDef("MATMAP","",_FORMAT_0("<CLASSPROP(cns,CNSPHYPROP,CNSMAT)>").value(),_FORMAT_0("<CLASSPROP
(cns,CNSPHYPROP,CNSMAT)>").value())
By default, the value of the Material(is3dpart) key is created with a complex VBS expression.
The " TranslateStringInGlobalOptionArrayDef " function takes the string of its 3rd parameter and tries to find it in the [MatMap] block. If this is successful, the mapped value is transferred to NX. The 4th parameter is the default value. If the material searched for cannot be found in the [MatMap] block, this default value is returned instead. If the default value is identical to the input value, the latter is transferred unchanged to NX if the search in MatMap fails
![]() | Note |
---|---|
The untranslated name of the material is transferred; in other words it will be the same for all languages. |
Valid names can usually be found at C:\Program Files\Siemens\NX
8.0\UGII\materials\phys_material.dat
(e.g. Sodium_Liquid, Aluminum_6061).