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

pteSetSearchOperator

pteSetSearchOperator
t_searchOperator
t_panelName
[ w_windowId ]
)
=> t / nil

Description

Sets the default operator for the search criteria. Valid values are and, or, phrase, and not. Panel name is one of Layers, Objects, or Grids.

Arguments

t_searchOperator

Operator for the search operation.
Valid values: and (All Of The Words), or (Any Of The Words), phrase (The Exact Phrase), not (None Of The Words)
Default: and

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 specified search operator was set.

nil

The command was unsuccessful.

Examples

Sets the search function to retrieve layer-purpose pairs that match any of the words in the search criteria:

pteSetSearchOperator("or" "Layers")

Sets the search function to retrieve grid items that contain none of the words specified in the search criteria:

pteSetSearchOperator("not" "Grids" window(2))


Return to top
 ⠀
X