mptGetLayerColoringMethod
mptGetLayerColoringMethod(d_cellViewID[t_layerName] ) =>t_coloringMethod/t_SDLcolorMethod/ nil
Description
Returns either the coloring method for the given layer, or the coloring method for the session, the design, and layers with a specified coloring method.
Arguments
|
Name of the layer. If not specified, the coloring method for the session, the design, and layers with a specified coloring method are reported. |
Values Returned
|
The coloring method for the session, the design, and layers with a specified coloring method. |
|
|
The coloring method was not returned due to an invalid cellview, layer name, or some other error. |
Examples
mptGetLayerColoringMethod( cv )
Session coloring method : connectedShapes
Design coloring method : connectedShapes
Layer Metal1 : colorSpacing
Returns the coloring method for the session, the design given by cv, and layers for which the coloring method is set. In this example, the colorSpacing coloring method was set for Metal1 using mptSetLayerColoringMethod, and both the session and design coloring methods are connectedShapes. The returned values are shown in blue.
mptGetLayerColoringMethod(cv "Metal1")
"colorSpacing"
Returns the coloring method for layer Metal1 of the design given by cv.
Return to top