Getting the Coloring Method
To get the global default coloring method, see the Default Coloring Method, as described in Multiple Patterning Options, or use the mptGetDefaultColoringMethod SKILL function.
t_coloringMethod = mptGetDefaultColoringMethod()
where t_coloringMethod is "interactive" or "managed".
To get the coloring method for a layer, use the mptGetLayerColoringMethod SKILL function.
t_coloringMethod= mptGetLayerColoringMethod(d_cellviewID t_layerName)
where d_cellviewID is the object identifier for the cellview, t_layerName is the layer name and t_coloringMethod is "interactive" or "managed".
To get the coloring method for the session, the design, and the layers for which the coloring method is set, use the mptGetLayerColoringMethod SKILL function.
In the following example, the output is shown in blue.
mptGetLayerColoringMethod( cv )
Session coloring method : interactive
Design coloring : interactive
Layer Metal2: managed
t
Related Topics
Enabling the Multiple Patterning Color Engine
Modifying the Default Multi-Patterning Environment Variable Settings
Customizing Displayed Coloring
Return to top