![]() | Note |
|---|---|
The standard declaration is normally completely sufficient. For the sake of completeness, it shall be mentioned that the ERP material column can also be specified directly. | |
There are two possibilities: Without and with mapping table.
The material name is directly taken from the ERP material column (default is "MAT_NAME") and transferred 1:1.
The mapping table is not used.
?GetObject("iface.calcnameservice").start(0)
.Format("<ATTR(MAT_NAME)>").value()The material name is directly taken from the ERP material column (default is "MAT_NAME").
The name determined is then mapped to the CAD system material name using the mapping table (see configuration file [Configuration File] -> "MatMap " block).
?context.TranslateStringInGlobalOptionArray("MATMAP","",GetObject("iface.calcnameservice")
.start(0).Format("<ATTR(MAT_NAME)>").value())

![[Note]](https://webapi.partcommunity.com/service/help/latest/pages/cn/3dfindit/doc/images/note.png)