IntelliCAD 11.1 Object Library
Select Method
See Also 
Type
The type of selection method.
Point1

A Point object defining the first point of the selection rectangle.

     Point1 and Point2 are IntelliCAD Point objects defining a rectangle for those applicable selection modes;

     FilterType is an optional parameter for specifying how to filter data selection;

     FilterData is an optional parameter for specifying filter data

Point2
A Point object defining the second point of the selection rectangle.
FilterType
Optional DXF code specifying a filter for selection.
FilterData

Value of the filter (used if FilterType is specified).

SelectionSet Collection : Select Method

Description

Selects objects within the rectangle specified by two points, and adds them to the selection set.

Syntax

Visual Basic
Public Sub Select( _
   ByVal Type As SelectionSetType, _
   Optional ByVal Point1 As Point = 0, _
   Optional ByVal Point2 As Point = 0, _
   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.
Point1

A Point object defining the first point of the selection rectangle.

     Point1 and Point2 are IntelliCAD Point objects defining a rectangle for those applicable selection modes;

     FilterType is an optional parameter for specifying how to filter data selection;

     FilterData is an optional parameter for specifying filter data

Point2
A Point object defining the second point of the selection rectangle.
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.