On the ENOVIA side:
- Define an attribute in ENOVIA called
Material
(string type). You can also use a different name.
- Add the
Material
attribute to the relevant ENOVIA types. In this case the ENOVIA types is ACAD Drawing
- Map the
Material
attribute in the MCADInteg-CADToMxAttribMapping
attribute of the Global Configuration Object to support attribute transfer from AutoCAD to ENOVIA. In this case the mapping will be: all,Material|all,Material
- Map the
Material
attribute in the MCADInteg-MxToCADAttribMapping
attribute of
the current Global Configuration Object to support attribute transfer from ENOVIA to
AutoCAD. In this case the mapping will be:
all,Material|all,Material
To list the available GCOs with their Bus ID and revision, run the following command
MQL>temp query bus *Global* * * select id;
To modify a GCO attribute from a GCO, run the following command
MQL>modify bus <busname> <attributename> "<attribute value>";
For example, to modify GCO attributes for Connector for AutoCAD GCO with Bus ID 12345,
MQL>modify bus 12345 MCADInteg-RenameFilesInServer True
;
Using the settings performed, if a user sets Material
attribute in AutoCAD, then the attribute is
transferred from and to ENOVIA.