occpGetBestProp
occpGetBestProp(o_occpHandleh_pathVectorIdt_propName) =>r_occpProp/ nil
Description
Gets the property information with the highest precedence for the specified occurrence path. The information is based on the occurrence path, the iterated instance, the instance, the cell, and the default properties with the specified name.
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) )
MyPathProp = occpGetBestProp(MyOccpHandle MyPathVec "variant")
when( MyPathProp
printf("I42 variant is %L\n" MyPathProp->value) )
occpClose(MyOccpHandle) ))
Related Topics
Parent/Child Database Functions
Return to top