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

occpSetPathProp

occpSetPathProp(
o_occpHandle 
h_pathVectorId
r_occpProp
)
=> t / nil

Description

Sets the occurrence path property information. The new setting overwrites any existing occurrence path property setting.

Arguments

o_occpHandle

The properties file handle returned by occpOpen when used with the a or w mode.

h_pathVectorId

The occurrence path for the property as returned from a call to hdbCreatePathVector.

r_occpProp

The property name structure, as returned by occpCreateProp.

Value Returned

t

The property was set.

nil

The property could not be set.

Example

MyHdbHandle = hdbOpen("lib1" "cell1" "cfgView1" "a" "CDBA")
when( MyHdbHandle
    MyOccpHandle = occpOpen("lib1" "cell1" "cfgView1" "a" "CDBA")
    when( MyOccpHandle
     MyPathVec = hdbCreatePathVector(MyHdbHandle)
hdbPushCell(MyPathVec "I42"
hdbGetTopLibName(MyHdbHandle)
hdbGetTopCellName(MyHdbHandle)
hdbGetTopViewName(MyHdbHandle) )
hdbPushCell(MyPathVec "J84" "lib2" "cell2" "view2")
occpSetPathProp(MyOccpHandle MyPathVec occpCreateProp("variant"
"lowCost"))
hdbDestroyPathVector(MyPathVec)
occpSave(MyOccpHandle)
occpClose(MyOccpHandle) ))

Related Topics

Hierarchy Database Functions

Occurrence Property Functions

Parent/Child Database Functions


Return to top
 ⠀
X