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

mptSetLayerColoringMethod

mptSetLayerColoringMethod( 
{ d_cellViewID | d_techID } 
l_layers 
t_coloringMethod 
)
=> t / nil

Description

Sets the default coloring method for the technology database, the design, or specified layers in the design.

Arguments

d_cellViewID |d_techID

ID of the cellview or the technology database.

l_layers

List of layers for which the default coloring method will be set.
If nil, then the default coloring method is set for the technology database ( if d_techID was given) or the design (if d_cellViewID was given).

t_coloringMethod

Sets the default coloring method.
If nil, the default coloring method is reset.

Valid values: "connectedShapes", "colorSpacing", nil

Values Returned

t

The default coloring method was set or reset as requested.

nil

The default coloring method was not set.

Examples

mptSetLayerColoringMethod( geGetEditCellView() nil "colorSpacing" )

Sets the default coloring method for the current design to colorSpacing.

mptSetLayerColoringMethod( geGetEditCellView() list( "m1" ) "connectedShapes" )

Sets the default coloring method for layer m1 of the current design to connectedShapes.

mptSetLayerColoringMethod( geGetEditCellView() nil nil )

Resets the default coloring method for the current design.

tfID = techGetTechFile( geGetEditCellView()->lib )
mptSetLayerColoringMethod( tfID nil "colorSpacing" )

Sets the default coloring method to colorSpacing for the technology database of the current cellview.


Return to top
 ⠀
X