3.2.8.4. Common hints for Attribute Mapping sections

CadDocumentAttributes

CadDocumentAttributes" contains information that is provided when exporting from 3Dfindit to the respective CAD program. On the left is the key (in the Explorer to the left of the = sign), on the right the value. Some of these values are transferred directly, others are queried dynamically via function calls, such as the catalog manufacturer (SUPPLIER) [first line in the following illustration].

Example from ifsolidworks.cfg

Example from ifsolidworks.cfg

[CadDocumentAttributes]

Valid syntax for attributes is:

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()

In addition, the "CopyFrom" may contain the following filter/flags:

Sequence and priority

Sometimes one and the same variable can have different values, depending on the context of the part. This means that multiple entries are also possible.

What happens if several assignments apply?

The first applicable entry (we think of the return value of functions) is taken. So if you enter a default value first without any checks, it will always be taken. See the last line in the following illustration. The following assignments of these variables are never executed by the program.

[Note]Note

Always list from the specific assignment of the attribute to the more general one up to the assignment of the default value!