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

dbGetRailDefFigType

dbGetRailDefFigType(
d_railDefId
) 
=> t_figType / nil

Description

Returns the figType specified in the given railDef.

Arguments

d_railDefId

Database ID of railDef.

Value Returned

t_figType

Returns figType of the specified railDef. Valid values are rect and pathSeg.

nil

Returned in case of failure.

Examples

Creates rail attributes and retrieves their figType.

; Create Rail attrs
         gndRail = list(nil)
         gndRail->lpp = list("gndLayer" "drawing")
         gndRail->width = 0.02
         gndRail->refOnArea = "topAlignment"
         gndRail->refOnRail = "centerAlignment"
         gndRail->netName = "gndNet"
         gndRail->railFigType = "pathSeg"
         ;; Create RailDef and query railDef figType
         rdef = dbCreateRailDefByAttr(cv "railDef" gndRail)
         dbGetRailDefFigType(rdef)

Related Topics

Placement Database Access Functions


Return to top
 ⠀
X