powered by CADENAS

Manual

Manual

2.2.4.5.1. Attribute mapping restricted to a special project

Do you want to transfer a variables' value to a CAD attribute restricted to a certain project?

  1. Check whether the following entry exists: $CADENAS_SETUP -> configuration file ifacecommon.cfg, section [CATEGORIES], key isProjectFile

    isProjectFile=InStr(GetObject("iface.calcnameservice").start
    ("DOC").Format("<PROJECTNAME(0)>").value(),"%0",1)>0

    Key "isProjectFile"

    Key "isProjectFile"

  2. Now you can define certain projects with the following entry in a CAD specific configuration file:

    ATTRIBUTENAME(isProjectFile(din_975.prj))=?GetObject("iface.calcnameservice")
    .start(0).Format("<ATTR(L)>").value()

    Exemplary entry in ifadeskinv.cfg

    Exemplary entry in ifadeskinv.cfg

    In the example in hand the attribute "L" is mapped to the CAD attribute "Menge" - if the project DIN 975 is transferred.