DXF Group Codes
ENTITIES Section |
DIMENSION
|
Common Dimension Group Codes
|
The following group codes apply to all dimension entity types.
Common dimension group codesGroup codes | Description |
100 |
Subclass marker (AcDbDimension) |
2 |
Name of the block that contains the entities that make up the dimension picture |
10 |
Definition point (in WCS). DXF: X value; APP: 3D point. |
20, 30 |
DXF: Y and Z values of definition point (in WCS) |
11 |
Middle point of dimension text. (in OCS). |
21, 31 |
DXF: Y and Z values of middle point of dimension text. (in OCS) |
70 |
Dimension type. |
1 |
Dimension text explicitly entered by the user. Optional; default is the measurement. If null or "<>", the dimension measurement is drawn as the text, if " " (one blank space), the text is suppressed. Anything else is drawn as the text. |
53 |
The optional group code 53 is the rotation angle of the dimension text away from its default orientation (the direction of the dimension line). |
51 |
All dimension types have an optional 51 group code, which indicates the horizontal direction for the dimension entity. It determines the orientation of dimension text and lines for horizontal, vertical, and rotated linear dimensions. |
210 |
Extrusion direction. (optional; default = 0, 0, 1). |
220, 230 |
DXF: Y and Z values of extrusion direction |
3 |
Dimension style name |
Xdata belonging to the application ID "ACAD" may follow a dimension entity. This describes any dimension overrides that have been applied to this entity. See "Dimension Style Overrides."
For all dimension types, the following group codes represent 3D WCS points: (10, 20, 30), (13, 23, 33), (14, 24, 34), and (15, 25, 35). For all dimension types, the following group codes represent 3D OCS points: (11, 21, 31), (12, 22, 32), and (16, 26, 36).