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

pteTogglePanels

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

Description

Displays the contents of the specified panel and hides the other two panels.

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 specified panel was displayed and the other two panels were hidden.

nil

The command was unsuccessful.

Examples

pteTogglePanels("Grids")
pteTogglePanels("Objects" window(2))

Return to top
 ⠀
X