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

mptReColor

mptReColor(
d_cellViewID 
[ l_layers ]
[ g_depth ] 
)
=> t / nil

Description

Rebuilds the color information for the cellview from the bottom hierarchically, according to the specified depth and layers.

Arguments

d_cellViewID

The database ID of the cellview.

l_layers

List of colorable layer names. If nil, all colorable layers are processed.

g_depth

Depth (hierarchy level) for bottom-up processing. If not specified, the entire hierarchy will be processed.

Values Returned

t

Recoloring was performed.

nil

Recoloring was not successful.

Examples

mptReColor( geGetEditCellView() )

Recolors the current edit cellview through the entire hierarchy on all colorable layers.

mptReColor( geGetEditCellView() list( "m1" "m2" ) )

Recolors the current edit cellview through the entire hierarchy on layers m1 and m2.

mptReColor( geGetEditCellView() nil 2 )

Recolors the current edit cellview bottom-up from hierarchy level 2 on all colorable layers.


Return to top
 ⠀
X