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

dbSetInPlaceCoverObstructionSpacingModel

dbSetInPlaceCoverObstructionSpacingModel(
d_InstHeaderId
t_layerName
t_spacingModelName
)
=> t / nil

Description

Sets value of the InPlaceCoverObstruction SpacingModel attribute on the specified instance header on the given layer.

Arguments

d_InstHeaderId

ID of an instance header.

t_layerName

Name of a physical layer specified in the technology file.

t_spacingModelName

  

A valid SpacingModel value.

Values Returned

t

The InPlaceCoverObstruction SpacingModel attribute value is set on the specified instance header on the given layer.

nil

The operation failed.

Examples

Sets the InPlaceCoverObstruction SpacingModel attribute value "asIs" for the instance instHeaderId on the layer Layer1.

inst = dbCreateInst(cv master "inst" list(3 4) "R0" 1)
     instHeaderId = inst~>instHeader
     dbCreateInPlaceCoverObstruction(instHeaderId list("closed" 1 4))
     equal(dbGetInPlaceCoverObstructionSpacingModel(instHeaderId "Layer1")      "spacing"))
     dbSetInPlaceCoverObstructionSpacingModel(instHeaderId "Layer1" "asIs")

equal(dbGetInPlaceCoverObstructionSpacingModel(instHeaderId "Layer1") "asIs")


Return to top
 ⠀
X