How can I select features without adding the Feature Layer to TOC in ArcGIS Pro SDK

765
4
Jump to solution
02-08-2021 09:43 AM
Amadeus111
Occasional Contributor II

I would like to select features (image footprints) in the view extent on a FeatureLayer. Then, I will use those selected features to call aerial images. Users do not have anything to do with the FeatureLayer. I would like making selection part behind the scenes. 

Or, is there another way to show all images when user at 1:20,000 scale or bigger. 

Is there a possible way to do one if these in AGP SDK? 

0 Kudos
1 Solution

Accepted Solutions
CharlesMacleod
Esri Regular Contributor
0 Kudos
4 Replies
CharlesMacleod
Esri Regular Contributor

select directly from the underlying datasource. 

0 Kudos
Amadeus111
Occasional Contributor II

Hi @CharlesMacleod

Thanks for your answer! Is there way to select features directly without converting a shapefile/Feature Class into a project item? Would you mind sharing a simple example selecting directly from a shapefile or feature class? 

0 Kudos
CharlesMacleod
Esri Regular Contributor
0 Kudos
Amadeus111
Occasional Contributor II

@CharlesMacleod 

Great resources! I use multiple layers some of them pointing to shapefiles some of them pointing to feature classes. I will see what I can do. Thanks for your answer. 

0 Kudos