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

occpRmInstProp

occpRmInstProp(
o_occpHandle 
t_libName | nil 
t_cellName | nil 
t_viewName | nil 
t_instName 
t_propName
)
=> t / nil

Description

Removes an instance property.

Arguments

o_occpHandle

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

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 of the property.

t_propName

The name of the property.

Value Returned

t

The property was removed.

nil

The property does not exist or could not be removed.

Example

MyHasLibProp = 
    occpGetInstProp(MyOccpHandle "lib1" "cell1" "view1" "I42" "variant")
when( MyHasLibProp
    MyNoLibProp = occpGetInstProp(MyOccpHandle nil "cell1" "view1" 
     "I42" "variant")
when( MyNoLibProp && MyHasLibProp->value == MyNoLibProp->value
occpRmInstProp(MyOccpHandle "lib1" "cell1" "view1" "I42" "variant") ))

Related Topics

Hierarchy Database Functions

Occurrence Property Functions

Parent/Child Database Functions


Return to top
 ⠀
X