|
Saving macro-element attributes |
Scroll |
A KOMPAS-3D macro-element is converted to a block when saving the document as DXF or DWG. If the macro-element had any attributes, the data from these attributes will be copied to the attributes of the corresponding block.
The structure of attributes is different between KOMPAS-3D and AutoCAD; some information (e. g. range of values, lists of values, text notes, etc.) cannot be copied.
If the macro-element attribute if of string or numeric type, then the name of the macro-element attribute becomes the name (tag) of the block attribute, and the value of the macro-element attribute becomes the value of the block attribute.
If the macro-element attribute is tabular, then each cell of the table becomes a block attribute, and the name of the block attribute matches the name of the corresponding table column. In case of a multi-line tabular attribute, an infotip with attribute name and line number is assigned to each attribute of the block.
By default, the values of the block attributes are not displayed in the resulting document, that is, the "Hidden" mode is enabled in the attribute properties. You can disable this mode if needed . If you do that, the attribute values will be displayed below the corresponding blocks.
|
Spaces in attribute tags or usage of the same tag for different attributes (this may occur if a macro-element has a tabular attribute containing several rows) are considered errors in AutoCAD. Please correct the attribute tags manually if required. |