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

occpGetInstProp

occpGetInstProp(
o_occpHandle 
t_libName | nil 
t_cellName | nil 
t_viewName | nil 
t_instName 
t_propName
)
=> r_occpProp / nil

Description

Gets the property information for an instance.

Arguments

o_occpHandle

The properties file handle returned from a call to occpOpen.

t_libName

The library name for the property. The default value of nil indicates no specific library name.

t_cellName

The cell name for the property. The default value of nil indicates no specific cell name.

t_viewName

The view name for the property. The default value of nil indicates no specific view name.

t_instName

The instance name for the property.

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

when( or( occpGetInstProp(MyOccpHandle "lib1" "cell1" "view1" "I42" "variant")
    occpGetInstProp(MyOccpHandle nil "cell1" "view1" "I42" "variant")
    occpGetInstProp(MyOccpHandle nil nil "view1" "I42" "variant")
    occpGetInstProp(MyOccpHandle nil nil nil "I42" "variant") )
    printf("Instance has variant property\n") )

Related Topics

Hierarchy Database Functions

Occurrence Property Functions

Parent/Child Database Functions


Return to top
 ⠀
X