2.3.7.2.4.  Key "material"

Name of material to use in NX

Default:

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]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).

Alternative examples:

  • Material=?_FORMAT_0("<CLASSPROP(cns,CNSPHYPROP,CNSMAT)>").value()

  • Material=Aluminum_6061 <-- direct assignment

  • Material=Steel@material.xml <-- to search in the local material.xml.

  • Material=Steel@\\server\share\material.xml <-- to be used to search in a material.xml located in the network

See also the keys listed in the [ MatMap] block.