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

pteSetSearchText

pteSetSearchText(
t_searchPattern
t_panelName
[ w_windowId ]
)
=> t / nil

Description

Searches for the specified search string based on the casing, match type, and search operator set for the panel in which the search is to be performed.

Arguments

t_searchPattern

Search string for which search is performed.

t_panelName

Name of the Palette panel.
Valid values: Layers, Objects, and Grids

w_windowId

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

Value Returned

t

The items matching the specified search string were listed in the specified panel.

nil

The command was unsuccessful.

Examples

Displays only those layer-purpose pairs that start with the letter M.

pteSetSearchMatchCase("sensitive" "Layers")
pteSetSearchMatchType("prefix" "Layers")
pteSetSearchOperator("or" "Layers")
pteSetSearchText("M" "Layers")


Return to top
 ⠀
X