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

occpSetInstProp

occpSetInstProp(
o_occpHandle 
t_libName | nil 
t_cellName | nil 
t_viewName | nil 
t_instName 
r_occpProp
)
=> t / nil

Description

Sets the property information for an instance. The new setting overwrites any existing property setting for the instance.

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. It must be specified if a library name is specified. The default value of nil indicates no specific cell name.

t_viewName

The view name for the property. It must be specified if a cell name is specified. The default value of nil indicates no specific view name.

t_instName

The instance name for the instance property.

r_occpProp

The property name structure, as returned by occpCreateProp.

Value Returned

t

The property was set.

nil

The property could not be set.

Example

unless( occpGetInstProp(MyOccpHandle "lib1" "cell1" "view1" "I42" "variant")
    occpSetInstProp(MyOccpHandle "lib1" "cell1" "view1" "I42" 
     occpCreateProp("variant" "lowPower")) )

Related Topics

Hierarchy Database Functions

Occurrence Property Functions

Parent/Child Database Functions


Return to top
 ⠀
X