SelectionSet object |
A group of one or more AutoCAD objects specified for processing as a single unit.
VBA class name: |
AcadSelectionSet |
---|---|
Create using: |
SelectionSets.Add |
Access via: |
SelectionSets.Item |
To delete a selection set, or delete items from a selection set, use one of the following methods:
Clear: The Clear method empties the selection set. The selection set will still exist, but won't contain any items. The items that previously resided in the selection still exist, but they no longer reside in 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.
Erase: The Erase method deletes all items in a selection set. The selection set still exists, but won't contain any items. The items that previously resided in the selection set no longer exist.
Delete: The Delete method deletes a selection set object, but not the objects in the selection set. While the selection set itself will not exist after the call to the Delete method, the items previously in the selection set will still exist.
To create a selection set, use the Add method. To edit or query a selection set, use the following methods and properties:
Methods |
Properties |
Comments? |