Select to view content in your preferred language

Can I select multiple feature classes by location and export to new feature classes of just the selected features?

330
2
08-01-2024 03:38 PM
Labels (3)
JoanRickard
New Contributor

I am using ArcGIS Pro and I often have to export utilities within a given boundary.  There are about 30 layers of utilities and I was wondering if there is a way to select from each of those layers and then export just the selected features to another geodatabase.  I have tried model builder with limited success, but I can only process one layer at a time.  This is very common ask so I would love to be able to create a script or model to automate the process.  I do also have access to Data Interoperability if that helps.  

Thank you.

0 Kudos
2 Replies
BrendanNewell
Esri Contributor

hi @JoanRickard,

My first thought here would be to perform your selection / selections then run Feature class to Geodatabase. You can run this as a "batch tool" which then you can add to model builder if required.

Cheers,
Brendan

🙂
0 Kudos
RhettZufelt
MVP Notable Contributor

If there is a selection on the data, the Copy Features tool will only copy the selected features.

With arcpy, you should be able to iterate through you layers and select by location, then, while the selection exists, copy features to the other geodatabase, then on to the next layer in the list.

R_

0 Kudos