Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiDynamicPanGrabbing

hiDynamicPanGrabbing(
[ w_window ]
[ l_vector ]

)
=> t / nil

Description

Pans (grabs and moves) a design in the specified (or current) window from one point to another. You can even pan the design when editing it. The panning operation ends when you release holding the mouse button or DrawThru bindkey.

You can set up a DrawThru bindkey with this function. To enter the vector values by using a bindkey, you have to press, hold, drag, and release the bindkey.

To exit the panning mode, press the Esc key. Pressing Esc stops panning the image and brings it back to its original position. This is especially useful when you do not want to pan the design but just take a "peek" at what is beyond the visible area.

Arguments

w_window

Optional. If not specified, the function uses the current window.

l_vector

Optional.

If not specified, the function lets you interactively input the values for a vector by pressing two points in the specified (or current) window.

Value Returned

t

Returns t when you successfully exit the panning mode

nil

Returns nil if you encounter an error

Example

hiSetBindKey("Layout" "<DrawThru1>" "hiDynamicPanGrabbing()")

Related Topics

Viewing Functions


Return to top
 ⠀
X