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

pteSetActiveLppColorLock

pteSetActiveLppColorLock(
{ t | nil }
[ w_windowId ]
)
=> t / nil

Description

Locks or unlocks the color on the current active layer-purpose pair.

Before you can set the lock state, you must set the color to mask1Color or mask2Color by using pteSetActiveLppColor.

The pteSetActiveLppColorLock SKILL function does not change the lock state when using the default color. To change the lock state of the default color, use mptSetLockDefaultColors.

Arguments

t

Lock the color on the active layer-purpose pair.

nil

Unlock the color on the active layer-purpose pair.

w_windowId

ID of the window in which you want to lock or unlock the color specified for the active layer-purpose pair.
Valid values: ID of any open window
Default: Current window

Value Returned

t

The color was locked or unlocked on the active layer-purpose pair.

nil

The command was unsuccessful.

Examples

pteSetActiveLppColorLock(t)
pteSetActiveLppColorLock(nil window(2))

Return to top
 ⠀
X