Remove Objects from a Selection Set

AutoCAD ActiveX

 
Remove Objects from a Selection Set
 
 
 

After you create a selection set, you can choose to remove individual objects, or all the objects from that set. For example, you can select an entire group of densely grouped objects and remove specific objects within the group, leaving only the objects you want to be in the set.

Use the following methods to remove items from the selection set:

RemoveItems

The RemoveItems method removes one or more items from a selection set. The removed items still exist, but they no longer reside in the selection set.

Clear

The Clear method will empty the selection set. The selection set will still exist, but contains no items. The items that previously resided in the selection still exist, but they no longer reside in the selection set.

Erase

The Erase method deletes all items in a selection set. The selection set still exists, but will contain no items. The items that previously resided in the selection set no longer exist.

Delete

The Delete method deletes a selection set and all items in the selection set. Neither the selection set nor the items previously in the selection set will exist after a call to the Delete method.