Overview | Statement List | Example
VIEWV/['view name',]variable _list[,IFERR,label:]
Returns the specified view parameters to a list of variables.
NOTE: All parameters are not supported for all types of views. A value
of -999 returns if the parameter is not supported.
The parameter returned depends upon its field position in the list. Therefore, if certain parameters are not desired, the field must be defined using two commas (,,). However, once you have specified the last desired parameter, do not use commas to define the remaining positions. For example, if you wished to only verify the orientation matrix and scale, you would specify
NUMBER/MAT(9),S
.
.
VIEWV/MAT,,S,IFERR,label:
where MAT is the orientation matrix parameter; ,, represents that the output vector size parameter is omitted; and S represents the scale parameter.
NOTE: You need to reserve 9 positions (commas) for the orientation
matrix if it is omitted. The output vector size is returned to the tenth
position.
The variable list is as shown in the following table.
Drawing View |
Drawing Member View |
Position |
Parameter |
Data Type |
Y |
Y |
1-9 |
Orientation matrix |
9 Numbers |
Y |
Y |
10 |
Output vector size |
[2,3] |
Y |
Y |
11 |
Scale |
Number |
Y |
Y |
12 |
X coordinate of view center |
Number |
Y |
Y |
13 |
Y coordinate of view center |
Number |
Y |
Y |
14 |
Z coordinate of view center |
Number |
N |
Y |
15 |
Projection type |
[1,2] |
N |
Y |
16 |
Perspective distance |
Number |
Y |
Y |
17 |
Front Z clipping status |
[0,1] |
Y |
Y |
18 |
Front Z clipping bound |
Number |
Y |
Y |
19 |
Back Z clipping status |
[0,1] |
Y |
Y |
20 |
Back Z clipping bound |
Number |
N |
Y |
21 |
X coordinate of drawing reference point |
Number |
N |
Y |
22 |
Y coordinate of drawing reference point |
Number |
N |
Y |
23 |
Z coordinate of drawing reference point |
Number |
N |
Y |
24 |
Drawing scale |
Number |
N |
N |
25 |
Surface display type |
[1,6] |
N |
N |
26 |
Depth cueing |
[1,2] |
Y |
Y |
27 |
Layer visibility mask |
[1,2] |
N |
Y |
28 |
Unfixed blends |
[1,2] |
N |
Y |
29 |
Smooth edges |
[1,2] |
N |
Y |
30 |
Silhouettes |
[1,2] |
N |
Y |
31 |
Hidden edge |
[1,3] |
Parameter |
Description |
'view name' |
A string or string variable which represents the name of the view being verified. The view does not need to be active. If no view name is specified, the current work view is verified. |
variable_list |
A list of variables to which the view parameters are assigned. The variables can be any combination of simple and/or array variables. |
IFERR,label: |
Specifies a label to which program execution jumps if an error occurs in accessing the view. |