Chapter 6 -- ENTITIES Section
HATCH

The following group codes apply to hatch 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."

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 (pattern fill only):
0 = not double; 1 = double

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: