31.3.1. Button Functions

The predefined button functions available are listed below:

mouse-rotate

Enables you to rotate the view by dragging the mouse across the screen. Dragging horizontally rotates the object about the screen’s -axis; vertical mouse movement rotates the object about the screen’s -axis. The function completes when the mouse button is released or the cursor leaves the graphics window.

mouse-dolly

Enables you to translate the view by dragging the mouse while holding down the button. The function completes when the mouse button is released or the cursor leaves the graphics window.

mouse-scroll-zoom (non-modifiable)

Enables you to use the middle scroll-wheel to zoom in and out on the graphics window based on the location of the mouse pointer.

mouse-zoom

Enables you to draw a zoom box, anchored at the point at which the button was pressed, by dragging the mouse with the button held down. When you release the button, if the dragging was from left to right, a magnified view of the area within the zoom box will fill the window. If the dragging was from right to left, the area of the window is shrunk to fit into the zoom box, resulting in a “zoomed out” view. If the mouse button is simply clicked (not dragged), the selected point becomes the center of the window.

mouse-roll-zoom

Enables you to rotate or zoom the view, depending on the direction in which you drag the mouse. If you drag the mouse horizontally, the display will rotate about the axis normal to the screen. If you drag it vertically, the display will be magnified (if you drag it down) or shrunk (if you drag it up). The function completes when the mouse button is released or the cursor leaves the graphics window.

mouse-probe

Enables you to select items from the graphics windows and request information about displayed scenes. If you have selected short description from the Probe drop-down list and then click the mouse-probe button in the graphics window, only the identity of the item on which you clicked will be printed out in the console; if you have selected long description instead, more detailed information about a selected item will be displayed.


Note:  A left-click will always select unless the left-mouse-button is set as mouse-zoom or mouse-probe.



Release 18.2 - © ANSYS, Inc. All rights reserved.