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

mptReColorWsp

mptReColorWsp(
d_cellViewID 
[ ?layers l_layers ]
[ ?region l_bBox ]
[ ?grayShapeOnly g_grayShapeOnly ]
[ ?trackPatterns l_trackPatterns ]
[ ?shapes l_shapes ]
[ ?checkWidth g_checkWidth ]
[ ?vias l_vias ]
)
=> l_coloredShapes / nil

Description

Recolors shapes based on the color of WSPs only.

Arguments

d_cellViewID

The database ID of the cellview.

?layers l_layers

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

?region l_bBox

Processes only the shapes overlapping the specified bounding box.

?grayShapeOnly g_grayShapeOnly

If t, then only gray shapes are processed. If nil, all shapes are processed

?trackPatterns l_trackPatterns

List of track patterns. If nil, all track patterns are processed.

?shapes l_shapes

List of shapes to be processed. If nil, all shapes are processed. You can specify l_layers or l_shapes. If both are specified, no processing happens.

?checkWidth g_checkWidth

If t, both the centerline and edges are checked. If nil, only centerline is checked.

?vias l_vias

List of vias to be colored.

Values Returned

l_coloredShapes

List of objects colored.

nil

No objects are colored.

Examples

mptReColorWsp(geGetEditCellView() ?shapes geGetSelSet())
(db:0x1901bf2d db:0x1901bf2b db:0x1901bf37 db:0x1901bf36 db:0x1901bf28)

Returns the list of recolored objects in the selection.

mptReColorWsp(geGetEditCellView() ?layers list("M1"))
(db:db:0x1901bf1a db:0x1901bf1d)

Returns the list of recolored objects in layer 'M1'.

mptReColorWsp(geGetEditCellView() ?layers list("M1") ?checkWidth t)
(db:db:0x1901bf1a)

Returns the list of recolored objects in layer 'M1' and both centerline and edge check passed.

mptReColorWsp(geGetEditCellView() ?layers list("M1") ?grayShapeOnly t ?checkWidth t)

No objects are recolored based on the criteria.


Return to top
 ⠀
X