powered by CADENAS

Manual

Manual

2.2.4.4. Common hints for Attribute Mapping sections

Valid syntax for attributes are:

  • Map a table variable into the given attribute

    CadAttrName=?_ATTR("NB")
  • Map a VB expression into the given attribute, valid are also ?"3.1415926" ORELSE ?"This is a text"

    CadAttrName=?AnyVBExpr 
  • Attribute is mapped as value ORELSE as string

    CadAttrName.Type=val|str  
  • This is CAD-dependent information

    CadAttrName.Custom=Any Custom Data

CopyFrom

The Section "CopyFrom" also accepts complete statements .. the %ATTRNAME% is reduced by the current var

CopyFrom..=_FORMAT_0("MYPREFIX_HERE<ATTR-(%ATTRNAME%)>-MYPOST_HERE").value()

Additonal the CopyFrom may contain the following filter/flags:

  • VAR_VISIBLE=0/1

  • VAR_TYPE= any valid type (see ps3 for details)

  • VAR_SOURCETYPE=any valid source (see ps3 for details)

  • VAR_EXCLUDE=Name1;name2;name3

  • LANG=language1;language2;...

  • Sample .. use italian as base language, only take visible vars and use than all english names and if there are more in the default lang use them also

  • CopyFrom..=italian,VAR_VISIBLE=1,lang=english;default