Entities
entities/ attdef
#include "dxfio/entities/attdef.hpp"In DxfIO::Entities
struct AttdefATTDEF
An ATTDEF: an attribute a block defines, which each INSERT of the block gives a value.
| Field | Type | Meaning |
|---|---|---|
Record | Entities::Record | The layer, linetype, color and the rest every entity carries. |
Lettering | Boxed<Entities::Lettering> | The default value, where it is drawn, and in which style, kept on the heap and reached with ->. |
Revision | int | The version of the attribute's layout. The first group 280, from R2010. |
Prompt | std::string | The prompt shown when the block is inserted. Group 3. |
Tag | Symbol | The tag that names the attribute in its block. Group 2. |
Flags | int | 1 invisible, 2 constant, 4 verified on entry, 8 preset. Group 70. |
Length | int | The field length, which AutoCAD does not use. Group 73. |
Vertical | int | The vertical justification: 0 baseline, 1 bottom, 2 middle, 3 top. Group 74. |
Locked | bool | Whether the attribute is locked to its place in the block. The last group 280, from R2007. |