DXF Group Codes
ENTITIES Section |
ATTRIB
|
The following group codes apply to attrib (attribute) entities.
Attrib group codesGroup codes | Description |
100 |
Subclass marker (AcDbText) |
39 |
Thickness (optional; default = 0) |
10 |
Text start point (in OCS). DXF: X value; APP: 3D point |
20, 30 |
DXF: Y and Z values of text start point (in OCS) |
40 |
Text height |
1 |
Default value (string) |
100 |
Subclass marker (AcDbAttribute) |
2 |
Attribute tag (string) |
70 |
Attribute flags |
73 |
Field length (optional; default = 0) (not currently used) |
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 |
72 |
Horizontal text justification type (optional, default = 0). See TEXT. |
74 |
Vertical text justification type (optional, default = 0). See group code 73 in TEXT. |
11 |
Alignment point (in OCS). DXF: X value; APP: 3D point. |
21, 31 |
DXF: Y and Z values of alignment point (in OCS) |
210 |
Extrusion direction. Present only if the entity's extrusion direction is not parallel to the WCS Z axis (optional; default = 0, 0, 1). DXF: X value; APP: 3D vector |
220, 230 |
DXF: Y and Z values of extrusion direction |
If group 72 and/or 74 values are nonzero then the text insertion point values are ignored, and AutoCAD calculates new values based on the text alignment point and the length of the text string itself (after applying the text style). If the 72 and 74 values are zero or missing, then the text alignment point is ignored and recalculated based on the text insertion point and the length of the text string itself (after applying the text style).