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

mptFixCVUncoloredAndUnlocked

mptFixCVUncoloredAndUnlocked(
d_cellViewID 
[ l_layers
[ l_region
[ g_fixUncolored
[ g_fixUnlocked ]]]]
)
=> t / nil 

Description

Searches for uncolored and unlocked, top-level shapes or vias, in the specified cellview and colors and locks them, respectively.

The mptFixCVUncoloredAndUnlocked function returns the same results as the functions, mptReColor and mptLockAll at the top level, but is intended for a smaller set of shapes. This function has better performance when there are fewer shapes that need to be colored and locked. It is useful when all metal layers are already colored and locked, but via cutlayers still need to be colored and locked.

Arguments

d_cellViewID

The database ID of the cellview.

l_layers

A list of layer names. The default value is nil, which implies that all colorable layers are searched.

l_region

The region or design area to be searched. The default value is nil, which implies that the entire cellview is searched.

g_fixUncolored

Specifies if uncolored shapes and vias are colored. If t, the uncolored shapes and vias are colored. If nil, the uncolored shapes and vias are not colored. The default value is t.

g_fixUnlocked

Specifies that unlocked shapes and vias are locked, when set to t, the default value. If set to nil, unlocked shapes and vias are not locked.

Values Returned

t

The uncolored or unlocked shapes or vias are colored or locked.

nil

The function was not successful.

Examples

mptFixCVUncoloredAndUnlocked(geGetEditCellView() list("M1") nil t nil)

Searches the uncolored objects, shapes or vias, on layer M1 for the currently edited cell view.


Return to top
 ⠀
X