I'm trying to create preview option in my program and want to add entities to a selection set as they are created so I can easily delete them.
|
I'm trying to create preview option in my program and want to add entities to a selection set as they are created so I can easily delete them.
If you look at help for the SelectionSet.AddItems method, you will see that it adds item(s) using a variant array. So as you create an item, add the objec to an array. When you get ready to delete the objects, create a selectionset and then add the array.
Woops. Of course the actual object.
I was thinking of the "last" object being added to the selection set as in Lisp.