The following group codes apply to LTYPE symbol table entries. In addition to the group codes described here, see Common Group Codes for Symbol Table Entries. For information about abbreviations and formatting used in this table, see Formatting Conventions in This Reference.

LTYPE group codes

Group code



Subclass marker (AcDbLinetypeTableRecord)


Linetype name


Standard flag values (bit-coded values):

16 = If set, table entry is externally dependent on an xref

32 = If both this bit and bit 16 are set, the externally dependent xref has been successfully resolved

64 = If set, the table entry was referenced by at least one entity in the drawing the last time the drawing was edited. (This flag is for the benefit of AutoCAD commands. It can be ignored by most programs that read DXF files and need not be set by programs that write DXF files)


Descriptive text for linetype


Alignment code; value is always 65, the ASCII code for A


The number of linetype elements


Total pattern length


Dash, dot or space length (one entry per element)


Complex linetype element type (one per element). Default is 0 (no embedded shape/text)

The following codes are bit values:

1 = If set, code 50 specifies an absolute rotation; if not set, code 50 specifies a relative rotation

2 = Embedded element is a text string

4 = Embedded element is a shape


Shape number (one per element) if code 74 specifies an embedded shape

If code 74 specifies an embedded text string, this value is set to 0

If code 74 is set to 0, code 75 is omitted


Pointer to STYLE object (one per element if code 74 > 0)


S = Scale value (optional); multiple entries can exist


R = (relative) or A = (absolute) rotation value in radians of embedded shape or text; one per element if code 74 specifies an embedded shape or text string


X = X offset value (optional); multiple entries can exist


Y = Y offset value (optional); multiple entries can exist


Text string (one per element if code 74 =2)

The group codes 74, 75, 340, 46, 50, 44, 45, and 9 are not returned by the tblsearch or tblnext functions. You must use tblobjname to retrieve these values within an application.