You are on page 1of 2

HOW TO CUSTOMIZE MOUSE BUTTON ACTIONS

Customize Mouse Button Actions

INTRODUCTION
When the mouse pointer is in the Graphics Window, clicking and holding the left mouse button as you drag will
perform the current transformation (e.g. rotate or zoom) as selected under the Graphics window transforms icon in
the Transformation Control area.

To perform a different transformation, you have to click on this icon and select
the new operation.

To avoid this, you can redefine how the left mouse works as well as map
additional transformation operations onto the middle and right mouse buttons,
combinations of mouse buttons, and double-clicking of mouse buttons.

This customization only effects the mouse usage while in the Graphics Window.
The left button is still used for other user-interface actions.

BASIC OPERATION
To change the behavior of mouse buttons in the Graphics Window:

1. Select Edit > Preferences..., then click on Mouse and


Keyboard

2. Set each click and drag mouse button pulldown


(Left, Middle, Right and combinations of such) as
desired.

3. Set the two button click and drag for each mouse.

4. Set the single click action for each mouse button.

5. Set the action for the keyboard ‘P’ key (see


below).

5. Set desired Zoom Style.


Automatic slide will zoom based on the direction and
distance the mouse is moved. To the right or up zooms
away, while to the left or down zooms towards. The
distance the mouse is dragged determines the rate of
continuous zoom.
Manual drag zooms in the same directions, but only a
distance relative to the distance the mouse is dragged.

6. Click Save To Preference File to save your


changes (if you want these changes to be the
default for future sessions of EnSight) and Close
to exit the dialog.
The new settings will take effect as soon as you hit the
close button. If you clicked Save To Preference Files,
your changes are also written to a file and automatically
loaded during future EnSight sessions.

Page 400
HOW TO CUSTOMIZE MOUSE BUTTON ACTIONS

Each mouse button (or combination of mouse buttons) can have one of the following associated behaviors:

Selected When this mouse button is clicked and dragged, the operation performed will be the currently
transform action selected function in the Transformation Control area.

Rotate When this mouse button is clicked and dragged, the operation performed will be rotate.

Translate When this mouse button is clicked and dragged, the operation performed will be translate.

Zoom When this mouse button is clicked and dragged, if Zoom Style is Manual Drag then a zoom
displacement will occur, and if Zoom Style is Automatic Slide then a zoom velocity will occur

Rubberband When this mouse button is clicked and dragged, the operation performed will be a rubberband
zoom zoom.

Rubberband When this mouse button is clicked and dragged, the operation performed will be a rubberband
selection tool selection tool manipulation.

Selected pick When this mouse button is clicked, the currently selected pick action (as previously selected
action under the pick icon) will be performed.

Pick part When this mouse button is clicked, the pick part action will be performed - causing the part under
the mouse to be selected in the main parts list.

Pick cursor tool When this mouse button is clicked, the pick cursor tool action will be performed - causing the
location cursor tool to move to the picked location.

Pick transf. center When this mouse button is clicked, the pick transformation center action will be performed -
causing the center of transformation to move to the picked location.

Pick elements to When this mouse button is clicked, the element blanking action will be performed - causing the
blank element under the mouse to be removed.

Nothing When this mouse button is clicked, no action will be performed.

Note that at least one of the mouse buttons (or combinations) must be set to “Selected transform action”!

Each double-click mouse action or the keyboard ‘P’ key can be set to the following:

Selected pick When this mouse button is clicked, the currently selected pick action (as previously selected
action under the pick icon) will be performed.

Pick part When this mouse button is clicked, the pick part action will be performed - causing the part under
the mouse to be selected in the main parts list.

Pick cursor tool When this mouse button is clicked, the pick cursor tool action will be performed - causing the
location cursor tool to move to the picked location.

Pick transf. center When this mouse button is clicked, the pick transformation center action will be performed -
causing the center of transformation to move to the picked location.

Pick elements to When this mouse button is clicked, the element blanking action will be performed - causing the
blank element under the mouse to be removed.

Nothing When this mouse button is clicked, no action will be performed.

Note that at least one of the mouse buttons, double-click options or the “P” key must be set to “Selected pick
action”!

SEE ALSO
User Manual: Mouse and Keyboard Preferences

Page 401

You might also like