dbRemovePlaceAreaRailDef
dbRemovePlaceAreaRailDef(
d_placeAreaId
d_railDefId
)
=> t / nil
Description
Removes a reference to the specified railDef in the specified placeArea. The rail geometry is also deleted. A warning message is displayed if the objects are not of the correct type.
Arguments
Value Returned
Examples
Creates a placeArea and railDef and adds reference to the railDef in the placeArea. dbRemovePlaceAreaRailDef is then used to remove the reference.
;; create placeArea
placeArea = dbCreatePlaceArea(cellViewid
name
width
height
origin
orient
utilization)
;; create railDef
def = dbCreateRailDef(cellViewId
"myRailDef"
"netName"
list("layer" "purpose")
"bottomAlignment"
"bottomAlignment"
railWidth
offsetFromRowReference)
;; Add reference to railDef in placeArea
dbAddPlaceAreaRailDef(placeArea def)
;; removes reference and rail geometry
dbRemovePlaceAreaRailDef(placeArea def)
Related Topics
Placement Database Access Functions
Return to top