Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbSetBlockageColor

dbSetBlockageColor(
d_blockageID
t_maskColor
)
=> t / nil

Description

Assigns color to the specified blockage.

If you try to assign color to the blockage that cannot be colored, results in an error.

Arguments

d_blockageID

Specifies the blockage ID

t_maskColor

Color to be assigned to the blockage.
Valid values are: "grayColor", "blackColor", "multiColor", or "mask<mask number>Color", where <mask number> is 1, 2, and so on, up to the number of masks defined in the technology library for the layer.

Value Returned

t

Returns t if the function runs successfully

nil

Returns nil if the function encounters an error

Example

dbSetBlockageColor( areaBlockage "mask1Color" ) => nil
dbSetBlockageColor( layerBlockage "blackColor" ) => t
dbGetBlockageColor( layerBlockage ) => "blackColor" 

Return to top
 ⠀
X