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.

FieldTypeMeaning
RecordEntities::RecordThe layer, linetype, color and the rest every entity carries.
LetteringBoxed<Entities::Lettering>The default value, where it is drawn, and in which style, kept on the heap and reached with ->.
RevisionintThe version of the attribute's layout. The first group 280, from R2010.
Promptstd::stringThe prompt shown when the block is inserted. Group 3.
TagSymbolThe tag that names the attribute in its block. Group 2.
Flagsint1 invisible, 2 constant, 4 verified on entry, 8 preset. Group 70.
LengthintThe field length, which AutoCAD does not use. Group 73.
VerticalintThe vertical justification: 0 baseline, 1 bottom, 2 middle, 3 top. Group 74.
LockedboolWhether the attribute is locked to its place in the block. The last group 280, from R2007.