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

occpGetPathProp

occpGetPathProp(
o_occpHandle 
h_pathVectorId 
t_propName
)
=> r_occpProp / nil

Description

Gets property information for the specified occurrence path.

Arguments

o_occpHandle

The properties file handle returned from a call to occpOpen.

h_pathVectorId

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

t_propName

The name of the property.

Value Returned

r_occpProp

The property name structure, as returned by occpCreateProp.

nil

The property information does not exist or could not be retrieved.

Example

MyHdbHandle = hdbOpen("lib1" "cell1" "cfgView1" "r" "CDBA")
when( MyHdbHandle
    MyOccpHandle = occpOpen("lib1" "cell1" "cfgView1" "r" "CDBA")
    when( MyOccpHandle
     MyPathVec = hdbCreatePathVector(MyHdbHandle)
hdbPushCell(MyPathVec "I42"
hdbGetTopLibName(MyHdbHandle)
hdbGetTopCellName(MyHdbHandle)
hdbGetTopViewName(MyHdbHandle) )
hdbPushCell(MyPathVec "J84" "lib2" "cell2" "view2")
MyPathProp = occpGetPathProp(MyOccpHandle MyPathVec "variant")
when( MyPathProp
printf("%s variant is %L\n" hdbGetPathStr(MyPathVec)
MyPathProp->value) )
hdbDestroyPathVector(MyPathVec)
occpClose(MyOccpHandle) ))

Related Topics

Hierarchy Database Functions

Occurrence Property Functions

Parent/Child Database Functions


Return to top
 ⠀
X