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

tpaToggleLayer

tpaToggleLayer(
t_layerName 
g_visible 
)
=> t / nil

Description

Sets the visibility for the active pattern of the enabled WSSPDef or SPDef on the given snapping layer.

Arguments

t_layerName

Name of the layer.

g_visible

Boolean variable that sets the visibility for the active pattern of the enabled WSSPDef or SPDef on the given snapping layer.
Valid values: t for visible, nil for not visible

Value Returned

t

The visibility for the active pattern of the enabled WSSPDef or SPDef on the given snapping layer is set, as requested.

nil

The specified layer name was not found.

Example

Turns off the Metal2 layer visibility in the Track Pattern table. This also turns off the active pattern visibility for the enabled WSSPDefs or SPDef on the layer.

tpaToggleLayer( "Metal2" nil)


Return to top
 ⠀
X