DXF Group Codes
TABLES Section |
VPORT
|
The following group codes apply to VPORT symbol table entries.
VPORT group codesGroup codes | Description |
100 |
Subclass marker (AcDbViewportTableRecord) |
2 |
Viewport name |
70 |
Standard flag values (See "Common Group Codes for Symbol Table Entries.") |
10 |
Lower-left corner of viewport. |
20 |
DXF: Y value of lower-left corner of viewport |
11 |
Upper-right corner of viewport |
21 |
DXF: Y value of upper-right corner of viewport |
12 |
View center point (in DCS). DXF: X value; APP: 2D point |
22 |
DXF: Y value of view center point (in DCS) |
13 |
Snap base point. DXF: X value; APP: 2D point |
23 |
DXF: Y value of snap base point |
14 |
Snap spacing X and Y. DXF: X value; APP: 2D point |
24 |
DXF: Y value of snap spacing X and Y |
15 |
Grid spacing X and Y. DXF: X value; APP: 2D point |
25 |
DXF: Y value of grid spacing X and Y |
16 |
View direction from target point (in WCS) |
26, 36 |
DXF: Y and Z values of view direction from target point |
17 |
View target point (in WCS). DXF: X value; APP: 3D point |
27, 37 |
DXF: Y and Z values of view target point (in WCS) |
40 |
View height |
41 |
Viewport aspect ratio |
42 |
Lens length |
43 |
Front clipping plane (offset from target point) |
44 |
Back clipping plane (offset from target point) |
50 |
Snap rotation angle |
51 |
View twist angle |
68 |
APP: Status field (never saved in DXF) |
69 |
APP: ID (never saved in DXF) |
71 |
View mode (see VIEWMODE system variable) |
72 |
Circle zoom percent |
73 |
Fast zoom setting |
74 |
UCSICON setting |
75 |
Snap on/off |
76 |
Grid on/off |
77 |
Snap style |
78 |
Snap isopair |
The VPORT table is unique: it may contain several entries with the same name (indicating a multiple-viewport configuration). The entries corresponding to the active viewport configuration all have the name *ACTIVE. The first such entry describes the current viewport.