Per default the material information is taken from the MATMAP block. Also see keys "poolpath", "filename", "MaterialDBFile" and block "MatMap".
Per default this is a complex vbs expression. It may be adjusted as desired.
?context.TranslateStringInGlobalOptionArray("MATMAP","",GetObject("iface.calcnameservice").start(0).Format("<CLASSPROP(cns,CNSPHYPROP,CNSMAT)>").value())
Alternative example for the vbs expression:
Material=?GetObject("iface.calcnameservice").start(0).Format("<CLASSPROP(cns,CNSPHYPROP,CNSMAT)>").value()
Definition, where the material information is from.
May be combined with material mapping (internal PARTsolutions material name : CAD-System material name).
Material mapping is used in order to map the internal PARTsolutions material name onto the CAD system material name.
![]() | Note |
---|---|
The untranslated material name will be transferred; in other words, it will be the same in all languages. |
Per default the material name is taken from the CNS classification. (Where the CNS classification gets the material name from is set under
C:\ProgramData\cadenas\partsolutions\setup -> configuration file partsol.cfg -> block VARTOCLASSMAPPING. The table column "MAT_NAME" is set by default)
The name determined in this way is then mapped to the CAD system material name using the material table under block [MatMap].
The following shows the [MatMap] block that is relevant for material mapping:
[MatMap] Copper=Kupfer Aluminum-6061-AHC=6061 Legierung Titanium=Titan ABS Plastic=ABS PC Gold=Reines Gold Lead=Reines Blei Silver=Reines Silber