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

mptSetLockDefaultColors

mptSetLockDefaultColors(
g_lock 
)
=> t / nil 

Description

Specifies whether the layer default color specified by mptSetLayerDefaultColor will be locked when assigned to a shape.

Arguments

g_lock

If t, lock the layer default color when it is assigned to a shape.
If nil, do not lock the layer default color when it is assigned to a shape.

Values Returned

t

The lock state will be set as requested whenever the layer default color is assigned to a shape.

nil

The lock state will not be set as requested whenever the layer default color is assigned to a shape.

Example

tfID=techGetTechFile( geGetEditCellView()~>lib )
mptSetLayerDefaultColor( tfID "m1" "mask1Color" )
mptSetLockDefaultColors( t )

Locks the mask1Color color on layer m1 whenever it is assigned as the layer default color to a shape.


Return to top
 ⠀
X