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

pteSetSelectableWithDepth

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

Description

Sets the selectability for the specified layer-purpose pair and for 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.

Arguments

t_layerPurposeName

Name of the layer-purpose pair.

t_paletteElementPath

Path to the layer-purpose pair.

g_selectabilityState

Selectability state to be set for the specified layer-purpose pairs. If set to t, selectability is turned on. If set to nil, selectability is turned off.

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

The selectability state was set for the specified layer-purpose pairs.

nil

The command was unsuccessful.

Examples

pteSetSelectableWithDepth("Metal1 drawing" nil "Layers")
pteSetSelectableWithDepth("Metal1;Metal1 drawing" nil "Layers") (in ViewBy mode)

Return to top
 ⠀
X