Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

pteFindPrev

pteFindPrev(
[ t_panelName ]
[ w_windowId ]
)
=> t / nil

Description

Finds and sets as active the previous layer-purpose pair that matches the search string, in the specified panel. This function works only if the Search Mode option in the Palette Options form is set as Filter.

Arguments

t_panelName

Name of the Palette panel.
Valid values: Layers, Objects, and Grids
Default: Currently active panel; if no panel is active, the search is performed in the Layers panel

w_windowId

ID of the window containing the Palette that you want to modify.
Valid values: ID of any open window
Default: Current window

Value Returned

t

The previous layer-purpose pair that matches the search string was found and set as active.

nil

The command was unsuccessful.

Examples

pteFindPrev("Layers")
pteFindPrev("Layers" window(2))

Return to top
 ⠀
X