VIEW

AutoCAD DXF Format

 
VIEW
 
 
 

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

VIEW group codes

Group code

Description

100

Subclass marker (AcDbViewTableRecord)

2

Name of view

70

Standard flag values (bit-coded values):

1 = If set, this is a paper space view

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 does not need to be set by programs that write DXF files)

40

View height (in DCS)

10

View center point (in DCS)

DXF: X value; APP: 2D point

20

DXF: Y value of view center point (in DCS)

41

View width (in DCS)

11

View direction from target (in WCS)

DXF: X value; APP: 3D vector

21, 31

DXF: Y and Z values of view direction from target (in WCS)

12

Target point (in WCS)

DXF: X value; APP: 3D point

22, 32

DXF: Y and Z values of target point (in WCS)

42

Lens length

43

Front clipping plane (offset from target point)

44

Back clipping plane (offset from target point)

50

Twist angle

71

View mode (see VIEWMODE system variable)

281

Render mode:

0 = 2D Optimized (classic 2D)

1 = Wireframe

2 = Hidden line

3 = Flat shaded

4 = Gouraud shaded

5 = Flat shaded with wireframe

6 = Gouraud shaded with wireframe

All rendering modes other than 2D Optimized engage the new 3D graphics pipeline. These values directly correspond to the SHADEMODE command and the AcDbAbstractViewTableRecord::RenderMode enum

72

1 if there is a UCS associated to this view; 0 otherwise

73

1 if the camera is plottable

332

Soft-pointer ID/handle to background object (optional)

334

Soft-pointer ID/handle to live section object (optional)

348

Hard-pointer ID/handle to visual style object (optional)

The following codes appear only if code 72 is set to 1. They define the UCS that is associated to this view. This UCS will become the current UCS whenever this view is restored (if code 72 is 0, the UCS is unchanged).

VIEW with UCS group codes

Group code

Description

110

UCS origin (appears only if code 72 is set to 1)

DXF: X value; APP: 3D point

120, 130

DXF: Y and Z values of UCS origin

111

UCS X-axis (appears only if code 72 is set to 1)

DXF: X value; APP: 3D vector

121, 131

DXF: Y and Z values of UCS X-axis

112

UCS Y-axis (appears only if code 72 is set to 1)

DXF: X value; APP: 3D vector

122, 132

DXF: Y and Z values of UCS Y-axis

79

Orthographic type of UCS (appears only if code 72 is set to 1):

0 = UCS is not orthographic

1 = Top; 2 = Bottom

3 = Front; 4 = Back

5 = Left; 6 = Right

146

UCS elevation (appears only if code 72 is set to 1)

345

ID/handle of AcDbUCSTableRecord if UCS is a named UCS. If not present, then UCS is unnamed (appears only if code 72 is set to 1)

346

ID/handle of AcDbUCSTableRecord of base UCS if UCS is orthographic (79 code is non-zero). If not present and 79 code is non-zero, then base UCS is taken to be WORLD (appears only if code 72 is set to 1)