I'm using ArcGIS Pro version 2.9.2.
I created a model builder that processes multiple geoprocessing tools (e.g., add multiple fields to shapefile attributes, perform spatial joins, delete fields, export final shapefile, etc.).
The model builder performs this on one US county at a time. I want to create an Add-In that would loop through all the counties in each state, instead of me clicking the model for every county (which is time-consuming).
Is it possible to execute the model builder for each shapefile contained in a folder using an Add-In in Visual Studio?
Appreciate any suggestions.
Solved! Go to Solution.
Instead of building an Add-In I would incorporate an iterator in your Model to run the model for each shapefile in the folder using the IterateFiles iterator. You can find details on it here and here.