DXF Group Codes
ENTITIES Section
LWPOLYLINE

The following group codes apply to lwpolyline entities.

Lwpolyline group codes
Group codes Description

100

Subclass marker (AcDbPolyline)

90

Number of vertices.

70

Polyline flag (bit-coded); default is 0:
1 = closed
128 = plinegen

43

Constant width (optional; default = 0) Not used if variable width (codes 40 and/or 41) is set.

38

Elevation (optional; default = 0)

39

Thickness (optional; default = 0)

10

Vertex coordinates (in OCS), multiple entries; one entry for each vertex. DXF: X value; APP: 2D point

20

DXF: Y value of vertex coordinates (in OCS), multiple entries; one entry for each vertex

40

Starting width (multiple entries; one entry for each vertex) (optional; default = 0; multiple entries). Not used if constant width (code 43) is set.

41

End width (multiple entries; one entry for each vertex) (optional; default = 0; multiple entries). Not used if constant width (code 43) is set.

42

Bulge (multiple entries; one entry for each vertex)  (optional; default = 0).

210

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

220, 230

DXF: Y and Z values of extrusion direction