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

dbIsBlockageColoringAllowed

dbIsBlockageColoringAllowed(
d_blockageId
)
=> t / nil

Description

Indicates whether the specified blockage is of a blockage type that can be colored. Only layer blockages can be colored.

This function does not check whether the layer associated with the blockage is colorable or not, as defined in the technology database.

Arguments

d_blockageId

Specifies the blockage ID

Value Returned

t

Returns t if the blockage can be colored

nil

Returns nil if the blockage cannot be colored or there is an error

Example

dbIsBlockageColoringAllowed( dbCreateLayerBlockage( cvId "M1" "routing" '((0 0) (100 0) (100 100)) ) ) => t
dbIsBlockageColoringAllowed( dbCreateAreaBlockage( cvId '((0 0) (100 0) (100 100)) ) ) => nil

Return to top
 ⠀
X