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

opcAddListToSet

opcAddListToSet( 
o_set
l_objects
)
=> t / nil

Description

Adds a list of objects to the specified set.

Arguments

o_set

Name of the operating collections (OPC) set that is updated by adding the objects.

l_objects

List of objects to be added.

Value Returned

t

All objects added to the set successfully.

nil

Failed to add the objects.

Examples

To add the instances to a set, use the following command:

cv = geGetEditCellView()
instances = cv~>instances
set = opcFindSet(cv “mySet”)
opcAddListToSet(set instances)
;; check how many objects in the set
length(set~>objects)

Return to top
 ⠀
X