Chapter 6 -- ENTITIES Section
ATTDEF
|
The following group codes apply to attdef (attribute definition) entities. In addition to the group codes described here, see "Common Group Codes for Entities." For information about abbreviations and formatting used in this table, see "Formatting Conventions in This Reference."
Attdef group codes| Group codes | Description |
100 |
Subclass marker (AcDbText) |
39 |
Thickness (optional; default = 0) |
10 |
First alignment point (in OCS) |
20, 30 |
DXF: Y and Z values of text start point (in OCS) |
40 |
Text height |
1 |
Default value (string) |
100 |
Subclass marker (AcDbAttributeDefinition) |
50 |
Text rotation (optional; default = 0) |
41 |
Relative X scale factor (width) (optional; default = 1). |
51 |
Oblique angle (optional; default = 0) |
7 |
Text style name (optional, default = STANDARD) |
71 |
Text generation flags (optional, default = 0); see TEXT group codes |
72 |
Horizontal text justification type (optional, default = 0); see TEXT group codes |
11 |
Second alignment point (in OCS) (optional) |
21, 31 |
DXF: Y and Z values of second alignment point (in OCS) (optional) |
210 |
Extrusion direction (optional; default = 0, 0, 1) |
220, 230 |
DXF: Y and Z values of extrusion direction |
100 |
Subclass marker (AcDbAttributeDefinition) |
3 |
Prompt string |
2 |
Tag string |
70 |
Attribute flags: |
73 |
Field length (optional; default = 0) (not currently used) |
74 |
Vertical text justification type (optional, default = 0); see group code 73 in TEXT |
If group 72 and/or 74 values are nonzero then the first alignment point values are ignored and AutoCAD calculates new values based on the second alignment point and the length and height of the text string itself (after applying the text style). If the 72 and 74 values are zero or missing, then the second alignment point is meaningless.