RemoveItems Method

Removes specified items from the group or selection set.

See Also | Example


object.RemoveItems Objects


Group, SelectionSet
The object or objects this method applies to.


Variant (array of objects); input-only
An array of objects to be removed.


Items removed from a group or selection set remain in the drawing; they are simply no longer associated to the group or selection set. This functionality mimics the functionality found in the Clear method, except that RemoveItems allows you to specify individual items to be removed instead of the entire selection set.

This method differs from the Delete and Erase methods in that it does not remove objects from the drawing.