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

pteToggleAllTools

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

Description

Toggles the display status of all toolbars in the specified panel.

Arguments

t_panelName

Name of the Palette panel.
Valid values: Layers, Objects, and Grids
Default: The panel that is currently active. If none of the panels is active, the command is run on the Layers panel.

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 display status of all the toolbars was toggled.

nil

The command was unsuccessful.

Examples

pteToggleAllTools("Layers")
pteToggleAllTools("Objects" window(2))

Return to top
 ⠀
X