Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schAsstAutoZoomPan

schAsstAutoZoomPan(
[ w_windowId ]
[ t_mode ]
[ x_scale ]
)
=> t / nil

Description

Performs auto-zoom on or pans to the selected objects.

Arguments

w_windowId

Window containing the Schematic assistant.

t_mode

Possible values are:

  • Pan To Selected
  • Zoom To Selected
  • Zoom To Fit

x_scale

Specifies the zoom to fit scale. The default is equal to the value of the autoZoomScale environment variable. The default is 90.

Value Returned

t

Object is selected.

nil

Object was not selected.

Examples

Pans to the selected set:

schAsstAutoZoomPan(hiGetCurrentWindow() “Pan To Selected”)

Zooms to the selected set:

schAsstAutoZoomPan(hiGetCurrentWindow() “Zoom To Selected”)

Return to top
 ⠀
X