Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

opcCreateTransientSet

opcCreateTransientSet( 
d_cellview
t_name
)
=> o_set / nil

Description

Creates an OPC set that is deleted when the cellview is removed from memory. Such sets can be created even when the cellview is read-only.

Arguments

d_cellview

Name of the cellview from where the members of the set should be selected.

t_name

Name of the OPC set.

Value Returned

o_set

The newly created OPC set.

nil

Failed to create the set.

Examples

Suppose a set called mySetTransient is required to store objects but only as long as the cellview is opened. To achieve this, you can use the following command:

cv = geGetEditCellView()
set = opcCreateTransientSet(cv “mySetTransient”)
if(set then
   info(“Successfully created set %s.\n” set~>name)
else
   info(“Failed to create set.\n”)
)

Return to top
 ⠀
X