IntelliCAD 11.1 Object Library | |
SelectByPolygon Method | |
See Also |
- Type
- The type of selection method.
- PolygonPoints
An array of Point objects defining the selection polygon.
- FilterType
- Optional DXF code specifying a filter for selection.
- FilterData
Value of the filter (used if FilterType is specified).
SelectionSet Collection : SelectByPolygon Method |
Description
Selects objects within a polygon specified by the points, and adds them to the selection set.
Syntax
Visual Basic |
---|
Public Sub SelectByPolygon( _ ByVal Type As SelectionSetType, _ ByVal PolygonPoints As Points, _ Optional ByVal FilterType As Variant, _ Optional ByVal FilterData As Variant _ ) |
Parameters
- Type
The type of selection method.Value Description vicSelectionSetAll Selects all entities (for the Select method). vicSelectionSetCrossingCircle vicSelectionSetCrossingPolygon Selects entities located within or crossing a polygonal area defined by PolygonPoints (for the SelectByPolygon method). vicSelectionSetCrossingWindow Selects entities located within or crossing a rectangular area defined by Point1 and Point2 (for the Select method). vicSelectionSetFence Selects entities that cross a fence defined by PolygonPoints (for the SelectByPolygon method). vicSelectionSetInsideCircle vicSelectionSetInsidePolygon Selects entities located within a polygonal area defined by PolygonPoints (for the SelectByPolygon method). vicSelectionSetInsideWindow Selects entities located within a rectangular area defined by Point1 and Point2 (for the Select method). vicSelectionSetLast Selects the most recently added visible entity (for the Select method). vicSelectionSetOutsideCircle vicSelectionSetOutsidePolygon Selects entities located outside of a polygonal area defined by PolygonPoints (for the SelectByPolygon method). vicSelectionSetOutsideWindow Selects entities located outside of a rectangular area defined by Point1 and Point2 (for the Select method). vicSelectionSetPrevious Selects the most recent selection set (for the Select method). - PolygonPoints
An array of Point objects defining the selection polygon.
- FilterType
- Optional DXF code specifying a filter for selection.
- FilterData
Value of the filter (used if FilterType is specified).