occpGetPathProp
occpGetPathProp(o_occpHandleh_pathVectorIdt_propName) =>r_occpProp/ nil
Description
Gets property information for the specified occurrence path.
Arguments
|
The properties file handle returned from a call to |
|
|
The occurrence path for the property as returned from a call to |
|
Value Returned
|
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
Parent/Child Database Functions
Return to top