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

opcAddObjectToSet

opcAddObjectToSet( 
o_set
d_object
)
=> t / nil

Description

Adds an object to the specified set.

Arguments

o_set

Name of the OPC set that is updated by adding the objects.

d_object

Object to be added.

Value Returned

t

Object added to the set successfully.

nil

Failed to add the object.

Examples

To add an instance to a set, use the following command:

cv = geGetEditCellView()
inst = car(cv~>instances)
set = opcFindSet(cv “mySet”)
opcAddObjectToSet(set inst)
;; check for the object in the set
set~>objects

Return to top
 ⠀
X