mptSetLayerDefaultColor
mptSetLayerDefaultColor(
d_techFileID
t_layerName
t_color
)
=> t / nil
Description
Sets the default color for a layer. This color will be assigned to newly created shapes and vias on the layer, and to gray shapes and vias on the layer when recoloring the design. The color will also be used to initialize the active color for this layer in the Palette.
Arguments
|
Valid values: |
Values Returned
Example
tfID=techGetTechFile( geGetEditCellView()~>lib )
mptSetLayerDefaultColor( tfID "m1" "mask1Color" )
mptSetLayerDefaultColor( tfID "m2" "mask2Color" )
Sets the default colors for layers m1 and m2 to mask1Color and mask2Color, respectively, for the current edit cellview.
Return to top