powered by CADENAS

Manual

Manual

2.3.1.2.6.4. Transfer custom attributes

In order to transfer an extra attribute to AutoCAD, do the following:

  1. Open the configuration file ifacad.cfg.

  2. Apply the following block:

    #:VISFGUI;1
    [CadDocumentAttributes]
    Extra=?GetObject("iface.calcnameservice").start(0).Format("<ATTR(NT)>").value() 

    In this example, the key "Extra" has been applied and the attribute "NT" (standard text) is exported.

    Optionally you may also determine the language of the attribute and define a prefix.

    #:VISFGUI;1
    [CadDocumentAttributes]
    Extra=?GetObject("iface.calcnameservice").start(0).Format
    ("CNS_<ATTR(english,NT)>").value() 

  3. Save the changes and open PARTadmin.

    In addition you now have the tabbed page "CadDocumentAttributes" with the "Extra" attribute available.

    PARTadmin -> Category CAD integration -> AutoCAD

    PARTadmin -> Category CAD integration -> AutoCAD

  4. Results in AutoCAD for example on the dialog page "Block Attribute Manager".

    Block Attribute Manager - Extra attribute

    Block Attribute Manager - Extra attribute