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

pteSetActiveLppColor

pteSetActiveLppColor(
{ grayColor | mask1Color | mask2Color }
[ w_windowId ]
)
=> t / nil

Description

Sets the specified color for the active layer-purpose pair. The lock state is set to unlocked.

The pteSetActiveLppColor SKILL function does not change the default color of an active layer. To change the layer default color, use mptSetLayerDefaultColor.

Arguments

grayColor | mask1Color | mask2Color

The color to be set for the active layer-purpose pair.
Valid values: grayColor, mask1Color, mask2Color
Default: grayColor

w_windowId

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

Value Returned

t

The specified color was set for the active layer-purpose pair.

nil

The command was unsuccessful.

Examples

pteSetActiveLppColor("mask1Color")
pteSetActiveLppColor("mask2Color" window(2))

Return to top
 ⠀
X