Chapter 4 -- TABLES Section
VPORT
|
The following group codes apply to VPORT symbol table entries. 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. 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."
VPORT group codes| Group codes | Description |
100 |
Subclass marker (AcDbViewportTableRecord) |
2 |
Viewport name |
70 |
Standard flag values (bit-coded values): |
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) |
22 |
DXF: Y value of view center point (in DCS) |
13 |
Snap base point |
23 |
DXF: Y value of snap base point |
14 |
Snap spacing X and Y |
24 |
DXF: Y value of snap spacing X and Y |
15 |
Grid spacing X and Y |
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) |
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 |
281 |
Render mode: |
65 |
Value of UCSVP for this viewport. If set to 1, then viewport stores its own UCS which will become the current UCS whenever the viewport is activated. If set to 0, UCS will not change when this viewport is activated. |
110 |
UCS origin |
120, 130 |
DXF: Y and Z values of UCS origin |
111 |
UCS X-axis |
121, 131 |
DXF: Y and Z values of UCS X-axis |
112 |
UCS Y-axis |
122, 132 |
DXF: Y and Z values of UCS Y-axis |
79 |
Orthographic type of UCS |
146 |
Elevation |
345 |
ID/handle of AcDbUCSTableRecord if UCS is a named UCS. If not present, then UCS is unnamed. |
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. |