VIEWE/['view name'][,{CSYS,csys|matrix}][{[,SCALE,s1][,CENTER,x,y[,z]]|,AUTO}][,{PARLEL|PERSP,d1|EYEPT,x,y[,z]}][{[,FRONTZ,{z1|OFF}][,BACKZ,{z2|OFF}]|,AUTOZ}][,REF,x,y[,z]][,DSCALE,s2][,SRFDSP,n][,DCUE[,OFF]][,SAVE[,'new view name'[,VMODS][,VDEP]]][,BLEND,{VSBL|INVSBL}][,SMOOTH,{VSBL|INVSBL}][,SILHO,{VSBL|INVSBL}][,HIDDEN,{VSBL|INVSBL|DASH}][,IFERR,label:]
Edits any active view. If the view name is not specified, the work view is edited.
This command applies to three types of views: a model view, a drawing view, and a member view of a drawing. The applicability of each parameter to the type of view is shown in the following table:
Parameter |
Model View |
Drawing View |
Member View | |
view name |
yes |
yes |
yes | |
CSYS |
yes |
no |
no | |
SCALE, CENTER, AUTO |
yes |
yes |
yes* | |
PARLEL |
yes |
yes |
yes | |
PERSP, EYEPT |
yes |
no |
no | |
FRONTZ, BACKZ, AUTOZ |
yes |
no |
yes* | |
REF |
yes |
no |
no | |
DSCALE |
yes |
no |
yes | |
SRFDSP |
yes |
no |
no | |
DCUE |
yes |
no |
no | |
SAVE |
yes |
yes |
yes | |
SAVE new view name, VMODS, VDEP |
yes |
no |
no | |
BLEND, SMOOTH, SILHO, HIDDEN |
yes |
no |
no | |
IFERR |
yes |
yes |
yes |
* Not valid if in "work in member view" mode.
You can also control the display of unfixed blends, smooth edges, silhouettes, and hidden edges for solids.
Several examples are provided following the statement explanation to help you understand how VIEWE can be used to perform the different edit functions. For example, you can perform all of the options of this statement in one operation. However, in practice, you probably would not change the center/scale and view reference point at the same time.
For more background information on the various parameters for the VIEWE statement, refer to the Unigraphics Gateway Help.
Parameter |
Description |
'view name' |
A string or string variable which represents the name of the view being edited. If the view is a drawing, any attempt to save it with a new name generates an error. |
CSYS |
Minor word which indicates that the object in the following field is a coordinate system. |
csys |
An existing coordinate system object which is used to redefine the viewing position of the view. The view center is changed to the origin of the coordinate system. The XY plane of the coordinate system is parallel to the screen with the positive X axis horizontal pointing to the right. |
matrix |
A previously defined matrix which represents the new view orientation matrix. This can either be a matrix defined by the MATRIX command (12 values) or a 3 x 3 matrix such as the matrix returned from the VIEWV command. |
SCALE |
Minor word which indicates that a scale value is to be specified as the scale of the view. |
s |
A positive real number which represents the scale of the view. |
CENTER |
Minor word which indicates that a new center of the view is to be specified. |
x,y,z |
Coordinates of the center of the view. The coordinates are measured in the current work coordinate system. |
AUTO |
Minor word which indicates that a Fit operation is to be performed on the view. |
PARLEL |
Minor word which indicates that the view is to be displayed in parallel projection. This is the normal engineering representation of a three dimensional object. |
PERSP |
Minor word which indicates that the view is to be displayed in perspective projection. Perspective uses a vanishing point to foreshorten display of the object. |
d |
A numerical value greater than zero which represents the distance you are standing from the object you are viewing. |
EYEPT |
Minor word which indicates that the following field specifies a vantage or viewing point. |
x,y,z |
The coordinates of the new eyepoint. These values are measured in the current work coordinate system. |
FRONTZ |
Minor word which indicates that the front clipping plane is to be altered. |
z1 |
A numerical value which represents the distance from the view origin to the front clipping plane. |
OFF |
Minor word which indicates removal of the front clipping plane. |
BACKZ |
Minor word which indicates that the back clipping plane is to be altered. |
z2 |
A numerical value which represents the distance from the view origin to the back clipping plane. |
OFF |
Minor word which indicates removal of the back clipping plane. |
AUTOZ |
Minor word which indicates that the front and back clipping planes are automatically set at the front and back extents of the part geometry. |
REF |
Minor word which indicates that the view reference point is to be altered. |
x,y,z |
The coordinates of the view reference point. These values are measured in the current work coordinate system. |
DSCALE |
Minor word which indicates that the drawing scale is to be altered. |
s2 |
A numerical value greater than zero which represents the new drawing scale of the view. |
SRFDSP |
Minor word which indicates that the surface display parameter is to be altered. |
n |
A numerical value which must be one of the valid surface display codes below:
|
DCUE |
Minor word which indicates that the depth cueing parameter is to be altered. |
OFF |
Minor word which indicates that the depth cueing is turned off. The default is on. |
SAVE |
Minor word which indicates that the view is saved with the current edits. |
'new view name' |
A string or string variable which represents the name of the view which is being created. The original view is not affected by the view edits. The new view automatically replaces the original view in the layout. If no new name is specified, the view is saved using its original name and no new view is created. Blanks or spaces are not allowed in a view name. |
VMODS |
Minor word which indicates that the view modification parameters of the original view is copied to the view created by specifying a new view name. |
VDEP |
Minor word which indicates that the view dependent geometry in the original view is moved to the edited view. |
BLEND |
Minor word which indicates that all unfixed blends are either visible or invisible in the specified view, depending upon the following minor word. |
SMOOTH |
Minor word which indicates that all smooth edges are either visible or invisible in the specified view, depending upon the following minor word. |
SILHO |
Minor word which indicates that all silhouettes are either visible or invisible in the specified view, depending upon the following minor word. |
HIDDEN |
Minor word which indicates that all hidden lines are either visible, invisible, or dashed in the specified view, depending upon the following minor word. |
VSBL |
Minor word which specifies that all unfixed blends, smooth edges, silhouettes, and hidden edges are visible in the specified view. |
INVSBL |
Minor word which specifies that all unfixed blends, smooth edges, silhouettes, and hidden edges are invisible in the specified view. |
DASH |
Minor word which specifies that all hidden edges are dashed in the specified view. |
IFERR,label: |
A label to which program execution jumps if an error occurs in editing the view. |