LTYPE
 
 
 

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

Description

100

Subclass marker (AcDbLinetypeTableRecord)

2

Linetype name

70

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)

3

Descriptive text for linetype

72

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

73

The number of linetype elements

40

Total pattern length

49

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

74

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

75

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

340

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

46

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

50

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

44

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

45

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

9

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.