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

leSetLayerSelectable

leSetLayerSelectable( 
l_layerPurposePair 
g_isSelectable 
[ d_techFileId ] 
) 
=> t / nil

Description

Sets the selectability of shapes on layer l_layerPurposePair in technology file d_techFileId as specified by g_isSelectable. If d_techFileId is not specified, the current technology file is used. For shapes on a layer to be selectable, the layer must be valid, visible, and selectable.

In Palette mode, this SKILL API will work only for the current active window.

Arguments

l_layerPurposePair

Layer-purpose pair whose selectability is set.

g_isSelectable

Specifies if the layer l_layerPurposePair is selectable.
Valid Values: t or nil

d_techFileId

The database ID of the technology file.

Value Returned

t

The selectability of shapes is set.

nil

The selectability of shapes is not set.

Examples

Any of these examples sets layer poly1 purpose drawing to be selectable and returns t.

leSetLayerSelectable( list("poly1" "drawing") t ) 
leSetLayerselectable( list("poly1") t )
leSetLayerSelectable( "poly1" t )

Return to top
 ⠀
X