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

pteSetOnlyVisibleWithDepth

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

Description

Turns on the visibility of the specified layer-purpose pair and of the n layer-purpose pairs listed both above and below the specified layer-purpose pair in the Layers panel. The value n is obtained from the Depth for Visibility field in the Palette Options form. Visibility of all other layer-purpose pairs is turned off.

Arguments

t_layerPurposeName

Name of the layer-purpose pair.

t_paletteElementPath

Path to the layer-purpose pair.

t_panelName

Name of the Palette panel.
Valid values: Layers

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

Visibility of the specified layer-purpose pairs was turned on.

nil

The command was unsuccessful.

Examples

pteSetOnlyVisibleWithDepth("Nwell drawing" "Layers")

pteSetOnlyVisibleWithDepth("Oxide drawing" "Layers" window(2))


Return to top
 ⠀
X