DXF Group Codes
ENTITIES Section
HATCH

The following group codes apply to hatch entities.

Hatch group codes
Group codes Description

100

Subclass marker (AcDbHatch)

10

Elevation point (in OCS). DXF: X value = 0; APP: 3D point (X and Y always equal 0, Z represents the elevation)

20, 30

DXF: Y and Z values of elevation point (in OCS).
Y value = 0, Z represents the elevation.

210

Extrusion direction. (optional; default = 0, 0, 1).
DXF: X value; APP: 3D vector

220, 230

DXF: Y and Z values of extrusion direction

2

Hatch pattern name

70

Solid fill flag (solid fill = 1; pattern fill = 0)

71

Associativity flag (associative = 1; non-associative = 0)

91

Number of boundary paths (loops)

varies


Boundary path data. Repeats number of times specified by code 91. See "Boundary Path Data.".

75

Hatch style
0 = hatch "odd parity" area (Normal style)
1 = hatch outermost area only (Outer style)
2 = hatch through entire area (Ignore style)

76

Hatch pattern type
0 = user-defined
1 = predefined
2 = custom

52

Hatch pattern angle (pattern fill only)

41

Hatch pattern scale or spacing (pattern fill only)

77

Hatch pattern double flag (double = 1, not double = 0).
(pattern fill only)

78

Number of pattern definition lines

varies


Pattern line data. Repeats number of times specified by code 78. See "Pattern Data."

47

Pixel size

98

Number of seed points.

10

Seed point (in OCS). DXF: X value; APP: 2D point (multiple entries)

20

DXF: Y value of seed point (in OCS). (multiple entries)


Topics in this section: