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

dbRowRegionMatchesSpec

dbRowRegionMatchesSpec(
d_rowRegionId
) 
=> t / nil

Description

Checks whether the rowRegion matches its rowRegionSpec.

A rowRegion does not matches its rowRegionSpec when one of the following is true:

Arguments

d_rowRegionId

Database ID of a rowRegion.

Value Returned

t

Specified rowRegion matches its rowRegionSpec.

nil

Specified rowRegion does not match its rowRegionSpec.

Examples

Checks whether the rowRegion matches its rowRegionSpec.

;; Creating rowRegion along with the corresponding rowRegionSpec
         spec = dbCreateRowRegionSpec(cv "RRS" 1100 list(newRow newRow))
         rowRegion = dbCreateRowRegion(cv "rowRegion" "RRS" point t "MXR90")
         ;; Check if the rowRegion matches spec.
         dbRowRegionMatchesSpec(rowRegion)
         \t t
;; rowRegion matches the rowRegionSpec.
dbGetRowRegionRowRegionSpec(rowRegion)~>height = 2200
dbRowRegionMatchesSpec(rowRegion)
\t nil
;; rowRegion does not matches the spec because rowRegionSpec has been modified.
         ;; Rebuild rowRegion
dbRebuildRowRegion(rowRegion)
;; Check if the rowRegion matches spec.
dbRowRegionMatchesSpec(rowRegion)
t t
;; rowRegion matches the spec again after it is rebuilt

Related Topics

Placement Database Access Functions


Return to top
 ⠀
X