ansys.mapdl.core.Mapdl.view#
- Mapdl.view(wn='', xv='', yv='', zv='', **kwargs)#
Defines the viewing direction for the display.
Mechanical APDL Command: /VIEW
- Parameters:
- wn
str
Window number (or ALL) to which command applies (defaults to 1).
- xv
str
The object is viewed along the line from point
XV
,YV
,ZV
(in the global coordinate system) to the global coordinate system origin. For section displays, the cutting plane is assumed to be perpendicular to this line. IfXV
= WP, modify view to be normal to the currently defined working plane. Defaults to (0,0,1).- yv
str
The object is viewed along the line from point
XV
,YV
,ZV
(in the global coordinate system) to the global coordinate system origin. For section displays, the cutting plane is assumed to be perpendicular to this line. IfXV
= WP, modify view to be normal to the currently defined working plane. Defaults to (0,0,1).- zv
str
The object is viewed along the line from point
XV
,YV
,ZV
(in the global coordinate system) to the global coordinate system origin. For section displays, the cutting plane is assumed to be perpendicular to this line. IfXV
= WP, modify view to be normal to the currently defined working plane. Defaults to (0,0,1).
- wn
Notes
The view line is always normal to the screen. The view is selected by defining a point (in the global Cartesian coordinate system) representing a point along the viewing line. This point, and the global Cartesian coordinate system origin, define the line along which the object is viewed while looking toward the origin. Any point along the view line may be used, that is, (1,1,1) and (2,2,2) give the same view. The display orientation may be changed as desired ( angle ). The display coordinate system type may be changed (from Cartesian to cylindrical, spherical, toroidal, etc.) with the dsys command.
This command is valid in any processor.