ansys.mapdl.core.Mapdl.zoom#
- Mapdl.zoom(wn='', lab='', x1='', y1='', x2='', y2='', **kwargs)#
Zooms a region of a display window.
Mechanical APDL Command: /ZOOM
- Parameters:
- wn
str
Window number to which command applies (defaults to 1).
- lab
str
Label to define the desired type of zoom:
OFF
- Turns zoom off (refits image of entire model to the window).BACK
- Goes back to previous zoom setting (five successive back ups, maximum).SCRN
- Interprets X1,Y1 as the screen coordinates of the center of a square zoom region; X2,Y2 as the screen coordinates of a point on one side of that square.RECT
- Interprets X1,Y1 and X2,Y2 as the screen coordinates of two opposite corners of a rectangular zoom region.
- x1
str
The description of the argument is missing in the Python function. Please, refer to the command documentation for further information.
- y1
str
The description of the argument is missing in the Python function. Please, refer to the command documentation for further information.
- x2
str
The description of the argument is missing in the Python function. Please, refer to the command documentation for further information.
- y2
str
The description of the argument is missing in the Python function. Please, refer to the command documentation for further information.
- wn
Notes
Zooms (centers and magnifies) the specified region of a display window. zoom will operate on a display that has been formed by an explicit graphics action command ( aplot, eplot, etc.). zoom has no effect on an “immediate” graphics display. When zoom is executed, the display is automatically replotted such that the specified zoom region is centered and sized to fill the window.
Auto resizing is disabled when you issue the zoom command. To restore auto resizing, issue the auto command, or select FIT from the Pan, Zoom, Rotate box.
This command is valid in any processor.