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

pteSetOnlySelectableWithDepth

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

Description

Turns on the selectability 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 Selectability field in the Palette Options form. Selectability 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

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

nil

The command was unsuccessful.

Examples

pteSetOnlySelectableWithDepth("Nwell drawing" "Layers")

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


Return to top
 ⠀
X