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

pteSetSearchMatchType

pteSetSearchMatchType(
t_searchType
t_panelName
[ w_windowId ]
)
=> t / nil

Description

Limits searches to items that match the search string, items with a specific prefix or suffix, or items that contain the search string as a substring.

Arguments

t_searchType

Scope of the search string.
Valid values: substring, prefix, exactly, and suffix
Default: substring

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 scope of the search string was set.

nil

The command was unsuccessful.

Examples

Sets the search function to retrieve the layer-purpose pairs that contain the specified search string:

pteSetSearchMatchType("substring" "Layers")

Sets the search function to retrieve grid objects that match the specified search string:

pteSetSearchMatchType("exactly" "Grids" window(2))

Return to top
 ⠀
X