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

pteSetVisible

pteSetVisible(
{ t_layerPurposeName | t_paletteElementPath }
g_visibilityState
t_panelName
[ w_windowId ]
)
=> t / nil

Description

Sets the visibility state for the specified item.

Arguments

t_layerPurposeName

Name of the item to be made visible.

t_paletteElementPath

Path to the item to be made visible.

g_visibilityState

Visibility state to be set for the specified item. If set to t, visibility is turned on. If set to nil, visibility is turned off.

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 visibility state was set for the specified item.

nil

The command was unsuccessful.

Examples

pteSetVisible("Metal1 drawing" nil "Layers")
pteSetVisible("Metal1;Metal1 drawing" nil "Layers") (in ViewBy mode)
pteSetVisible("Metal1" nil "Layers") (in ViewBy mode)
pteSetVisible("Shapes;Circle/Ellipse" nil "Objects" window(2))

Related Topics

pteIsVisible

Return to top
 ⠀
X