Quantcast
Channel: Forums - ArcGIS for Desktop - General
Viewing all articles
Browse latest Browse all 2565

How to join/merge selection sets?

$
0
0
Hi, thanks for looking at my post. I am running several spatial queries and setting the results to individual selection sest.

An example:

pFeatureSelection.SelectFeatures(pSpatialQ, ESRI.ArcGIS.Carto.esriSelectionResultEnum.esriSelectionResultNew, False)

In the end I have several selection sets that I have added as layers to my ArcMap session. Now what I want to do is to combine the selection sets into a single selection set so I only have one layer.

As I am basically looping through Polygons and looking for Points within, is there a way I could just add the selection sets together as a new one is created, much like you add a feature to a selection set:

An Example:

pFeatureSelection.Add(pAddressFeature)

Thanks for your time, Dale

Viewing all articles
Browse latest Browse all 2565

Trending Articles