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

opcClearSet

opcClearSet( 
o_set
)
=> t / nil

Description

Removes all objects from a set without modifying the specific objects.

Arguments

o_set

Name of the OPC set from which the objects are being removed.

Value Returned

t

All objects removed from the set successfully.

nil

Failed to remove all objects.

Examples

To remove mySet from the current cellview current, set the following commands:

cv = geGetEditCellView()
set = opcFindSet(cv “mySet”)
;; confirm that there are objects in the set
length(set~>objects)
opcClearSet(set)
;; confirm that all objects have been removed
length(set~>objects)

Return to top
 ⠀
X