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

tpaToggleDef

tpaToggleDef(
t_defName 
g_enabled 
)
=> t / nil

Description

Enables or disables the specified WSSPDef or SPDef.

Arguments

t_defName

Name of the WSSPDef or SPDef.

g_enabled

Boolean variable that enables or disables the specified WSSPDef or SPDef.
Valid values: t for enable, nil for disable

Value Returned

t

The specified WSSPDef or SPDef is enabled or disabled, as requested.

nil

The specified WSSPDef or SPDef was not found.

Example

Disables the M2WSP WSSPDef. This also sets the visibility off for the M2WSP active pattern in the Track Pattern table and in the canvas.

tpaToggleDef( "M2WSP" nil )


Return to top
 ⠀
X