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

leSetLayerAttributes

leSetLayerAttributes( 
d_techFileId 
g_layerPurposePair 
l_attributeList 
) 
=> t / nil

Description

Sets the attributes of the specified layer in the technology file d_techFileId as specified by g_layerPurposePair and l_attributeList.

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

Arguments

d_techFileId

The database ID of the technology file containing the layer.

g_layerPurposePair

Specifies the layer in the technology file whose attributes you change.

l_attributeList

Specifies attributes of the layer in the technology file d_techFileId. These attributes occur in the following order: g_isValid, g_isSelectable, g_isVisible. Only valid layers are displayed in the Layer Selection Window. A selectable layer must also be valid and visible.
Valid Values: t or nil

Value Returned

t

The attributes of the layer are set to the specified values.

nil

The attributes of the layer are not set to the specified values.

Example

Sets layer metal1Res drawing in techFileId to valid, not selectable, and visible.

leSetLayerAttributes(techFileId list('("metal1Res" "drawing") t nil t))


Return to top
 ⠀
X