<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS Pro Add-in:  How to execute a model builder in .NET Visual Studio in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-add-in-how-to-execute-a-model-builder/m-p/1160401#M53544</link>
    <description>&lt;P&gt;I'm using ArcGIS Pro version 2.9.2.&lt;/P&gt;&lt;P&gt;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.).&lt;/P&gt;&lt;P&gt;The model builder performs this on one US county at a time.&amp;nbsp; 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).&lt;/P&gt;&lt;P&gt;Is it possible to execute the model builder for each shapefile contained in a folder using an Add-In in Visual Studio?&lt;/P&gt;&lt;P&gt;Appreciate any suggestions.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Apr 2022 19:27:30 GMT</pubDate>
    <dc:creator>JadedEarth</dc:creator>
    <dc:date>2022-04-01T19:27:30Z</dc:date>
    <item>
      <title>ArcGIS Pro Add-in:  How to execute a model builder in .NET Visual Studio</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-add-in-how-to-execute-a-model-builder/m-p/1160401#M53544</link>
      <description>&lt;P&gt;I'm using ArcGIS Pro version 2.9.2.&lt;/P&gt;&lt;P&gt;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.).&lt;/P&gt;&lt;P&gt;The model builder performs this on one US county at a time.&amp;nbsp; 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).&lt;/P&gt;&lt;P&gt;Is it possible to execute the model builder for each shapefile contained in a folder using an Add-In in Visual Studio?&lt;/P&gt;&lt;P&gt;Appreciate any suggestions.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 19:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-add-in-how-to-execute-a-model-builder/m-p/1160401#M53544</guid>
      <dc:creator>JadedEarth</dc:creator>
      <dc:date>2022-04-01T19:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Add-in:  How to execute a model builder in .NET Visual Studio</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-add-in-how-to-execute-a-model-builder/m-p/1160405#M53545</link>
      <description>&lt;P&gt;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.&amp;nbsp; You can find details on it &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/iterate-files.htm" target="_self"&gt;here&lt;/A&gt; and &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/examples-of-using-iterators-in-modelbuilder.htm#ESRI_SECTION1_3D4AA24954D645A0810A250779A2BB11" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 19:35:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-add-in-how-to-execute-a-model-builder/m-p/1160405#M53545</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2022-04-01T19:35:23Z</dc:date>
    </item>
  </channel>
</rss>

