Selects objects and places them into a selection set.
See Also | Example
object.Select Mode[, Point1][, Point2][, FilterType][, FilterData]
The object or objects this method applies to.
AcSelect enum; input-only
Variant (array of doubles); input-only;
The 3D WCS coordinates, or array of coordinates, specifying Point1. See the mode definitions for the proper use of Point1.
Variant (three-element array of doubles);
The 3D WCS coordinates specifying Point2. See the mode definitions for the proper use of Point2.
Integer; input-only; optional
A DXF group code specifying the type of filter to use.
Variant; input-only; optional
The value to filter on.
This method supports the filtering mechanism.
The following selection modes are available:
Selects all objects completely inside a rectangular area whose corners are defined by Point1 and Point2.
Selects objects within and crossing a rectangular area whose corners are defined by Point1 and Point2.
Selects the most recent selection set. This mode is ignored if you switch between paper space and model space and attempt to use the selection set.
Selects the most recently created visible objects.
Selects all objects.
For more selection mode options, see the SelectByPolygon, SelectAtPoint, and SelectOnScreen methods.