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

tpaSetDefVisible

tpaSetDefVisible(
t_defName 
g_visible
)
=> t / nil

Description

Sets the visibility of the active pattern for the given width spacing snap pattern definition (WSSPDef) or snap pattern definition (SPDef) in the Track Pattern table. If the WSSPDef or SPDef is enabled in the Track Pattern table, this also controls the visibility of the active pattern in the canvas.

Arguments

t_defName

Name of the WSSPDef or SPDef.

g_visible

Boolean variable that sets the visibility for the active pattern of the specified WSSPDef or SPDef.
Valid values: t for visible, nil for not visible

Value Returned

t

The visibility of the active pattern is set as requested.

nil

The visibility of the active pattern was not set because the width spacing pattern or the WSSPDef was not found.

Example

Turns the visibility on for the active pattern of the M2WSP WSSPDef.

tpaSetDefVisible( "M2WSP" t)


Return to top
 ⠀
X