DXF Group Codes
ENTITIES Section |
HATCH
|
Boundary Path Data
|
The boundary of each hatch object is defined by a path (or loop) that consists of one or more segments. Path segment data varies depending on the entity type (or types) that make up the path. Each path segment is defined by its own set of group codes.
Hatch boundary path data group codesGroup codes | Description |
92 |
Boundary path type flag (bit coded) |
varies |
Polyline boundary type data (only if boundary = polyline) |
93 |
Number of edges in this boundary path (only if boundary is not a polyline) |
72 |
Edge type (only if boundary is not a polyline) |
varies |
Edge type data (only if boundary is not a polyline). See appropriate Edge data table below. |
97 |
Number of source boundary objects |
330 |
Reference to source boundary objects (multiple entries) |
Group codes | Description |
72 |
Has bulge flag |
73 |
Is closed flag |
93 |
Number of polyline vertices |
10 |
Vertex location (in OCS). DXF: X value; APP: 2D point (multiple entries) |
20 |
DXF: Y value of vertex location (in OCS). (multiple entries) |
42 |
Bulge (optional, default = 0) |
Group codes | Description |
10 |
Start point (in OCS). DXF: X value; APP: 2D point |
20 |
DXF: Y value of start point (in OCS). |
11 |
End point (in OCS). DXF: X value; APP: 2D point |
21 |
DXF: Y value of end point (in OCS). |
Group codes | Description |
10 |
Center point (in OCS). DXF: X value; APP: 2D point |
20 |
DXF: Y value of center point (in OCS). |
40 |
Radius |
50 |
Start angle |
51 |
End angle |
73 |
Is counterclockwise flag |
Group codes | Description |
10 |
Center point (in OCS). DXF: X value; APP: 2D point |
20 |
DXF: Y value of center point (in OCS). |
11 |
End point of major axis relative to center point (in OCS). DXF: X value; APP: 2D point |
21 |
DXF: Y value of end point of major axis (in OCS). |
40 |
Length of minor axis (percentage of major axis length) |
50 |
Start angle |
51 |
End angle |
73 |
Is counterclockwise flag |
Group codes | Description |
94 |
Degree |
73 |
Rational |
74 |
Periodic |
95 |
Number of knots |
96 |
Number of control points |
40 |
Knot values (multiple entries) |
10 |
Control point (in OCS). DXF: X value; APP: 2D point |
20 |
DXF: Y value of control point (in OCS). |
42 |
Weights (optional, default = 1) |