opcClearSet
opcClearSet(
o_set
)
=> t / nil
Description
Removes all objects from a set without modifying the specific objects.
Arguments
|
Name of the OPC set from which the objects are being removed. |
Value Returned
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