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
|
Name of the cellview from where the members of the set should be selected. |
|
Value Returned
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