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
|
If |
Values Returned
|
The lock state will be set as requested whenever the layer default color is assigned to a shape. |
|
|
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