Author Topic: Select BYPolygon  (Read 1824 times)

0 Members and 1 Guest are viewing this topic.

csgoh

  • Newt
  • Posts: 176
Select BYPolygon
« on: June 24, 2005, 10:23:42 PM »
What does it mean by the enum in the mode "AcSelect enum; input only" for the method selectbypolygon as listed in the Help files?

Using an integer 2 for mode seems to be ok but not other numbers?

Thank you.

SelectByPolygon Mode, PointsList, FilterType, FilterData

Object

SelectionSet
The object or objects this method applies to.

Mode

AcSelect enum; input-only
acSelectionSetFence

acSelectionSetWindowPolygon

acSelectionSetCrossingPolygon

PointsList

Variant (array of doubles); input-only
An array of 3D WCS coordinates specifying the selection fence.

FilterType

Integer; input-only; optional
A DXF group code specifying the type of filter to use.

FilterData

Variant; input-only; optional
The value to filter on.

csgoh

Jeff_M

  • King Gator
  • Posts: 4099
  • C3D user & customizer
Select BYPolygon
« Reply #1 on: June 25, 2005, 12:43:34 AM »
The 2 is for acSelectionSetFence. Using the ObjectBrowser in the VBAIDE you can find that to call acSelectionSetWindowPolygon you would need to either supply that konstant OR the Integer 6.