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

pteSetOption

pteSetOption(
t_optionName
g_optionState
[ w_windowId ]
)
=> t / nil

Description

Assigns a value to the specified Palette option.

Arguments

t_optionName

Name of the Palette option for which a value is to be assigned. Valid value: contextByLS.

g_optionState

Value to be assigned to the Palette option.

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 value was ed to the Palette option.

nil

The command was unsuccessful.

Examples

Assigns the specified value to the Palette option.

pteSetOption("contextByLS" t)
pteSetOption("contextByLS" t window(2))

Return to top
 ⠀
X