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
ValueDescription
vicSelectionSetAllSelects all entities (for the Select method).
vicSelectionSetCrossingCircle 
vicSelectionSetCrossingPolygonSelects entities located within or crossing a polygonal area defined by PolygonPoints (for the SelectByPolygon method).
vicSelectionSetCrossingWindowSelects entities located within or crossing a rectangular area defined by Point1 and Point2 (for the Select method).
vicSelectionSetFenceSelects entities that cross a fence defined by PolygonPoints (for the SelectByPolygon method).
vicSelectionSetInsideCircle 
vicSelectionSetInsidePolygonSelects entities located within a polygonal area defined by PolygonPoints (for the SelectByPolygon method).
vicSelectionSetInsideWindowSelects entities located within a rectangular area defined by Point1 and Point2 (for the Select method).
vicSelectionSetLastSelects the most recently added visible entity (for the Select method).
vicSelectionSetOutsideCircle 
vicSelectionSetOutsidePolygonSelects entities located outside of a polygonal area defined by PolygonPoints (for the SelectByPolygon method).
vicSelectionSetOutsideWindowSelects entities located outside of a rectangular area defined by Point1 and Point2 (for the Select method).
vicSelectionSetPreviousSelects the most recent selection set (for the Select method).
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).

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.