Adding System Attributes

Attributes are correctly identified as System (in case of ENOVIA) or Summary (in case of AutoCAD) by having the attribute names start and end with "$$". For example, $$Description$$, $$Author$$, etc.

  1. On the AutoCAD side:

    1. Open a part having system attributes in AutoCAD and choose File > Properties > Summary.
    2. Add an attribute called Comments and assign Design Part as the value.

  2. On the ENOVIA side:

    1. Define in ENOVIA an attribute called Description (string type). You can also use a different name.
    2. Add the Description attribute to the relevant ENOVIA types. In this case the ENOVIA types are ACAD Drawing and ACAD Versioned Drawing.
    3. Map the Description 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,$$Description$$|all,$$Description$$
    4. Map the Description 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,$$description$$|all,$$Description$$
      

      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;

      Tip: For modifying attributes with multiline values, use Notepad++ or any text editor to specify the command with multi-line values on multiple lines with each value in double quotes. Copy paste the entire command to MQL command line to run the command.

      Note: The mappings for System attributes must always be in lowercase on the mx side.

    The following table explains the supported system attributes in ENOVIA for a "to and from" transfer:

    Direction

    Description

    Owner

    Type

    Name

    Revision

    To ENOVIA

    Supported

    Supported

    Not supported

    Not supported

    Not supported

    From ENOVIA

    Supported

    Supported

    Supported

    Supported

    Supported

    By default the Integration uses a single ENOVIA type (ACAD Drawing) for both CAD types (assembly and component) . Hence the attribute mapping has to use the "all" value for representing types. If users prefer to use the component/assembly classification, they need to use specific types such as "assembly" or "component" instead of "all".