<?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 Re: ModelBuilder Iterator overwriting results in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-iterator-overwriting-results/m-p/799563#M2767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;DUDE that worked, but here's a couple of notes for anyone else that runs into this.&amp;nbsp;&amp;nbsp; The "Collector tool" goes on the "inside" model that contains the iterator, BUT the Output of the Collector is flaged as a parameter for the "outer model".&amp;nbsp;&amp;nbsp; ALSO, I banged my head against a wall for 30 minutes because modelbuilder flagged the input tables into the collector as intermediate, and thus was deleting them right before the merge tool fired off!!&amp;nbsp;&amp;nbsp; Uncheck that box for this exercise.&amp;nbsp;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 15:55:01 GMT</pubDate>
    <dc:creator>BrandonLand</dc:creator>
    <dc:date>2011-09-16T15:55:01Z</dc:date>
    <item>
      <title>ModelBuilder Iterator overwriting results</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-iterator-overwriting-results/m-p/799561#M2765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey guys, I think this is a simple question but not sure... I have a map with say, a counties layer and I want to make a tool that will count all the houses in each county (or selected counties) and output the results to a table.&amp;nbsp;&amp;nbsp; So I have the tool, I put down an interator, passing in the selected counties to a clip function, that then passes the resulting houses into a stat box that counts them.&amp;nbsp;&amp;nbsp; Problem is, I only get back the last selected county because the stat output overwrites the table with the last result.&amp;nbsp;&amp;nbsp; How do I make it append or insert the results so I get them all back instead of just one?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 14:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-iterator-overwriting-results/m-p/799561#M2765</guid>
      <dc:creator>BrandonLand</dc:creator>
      <dc:date>2011-09-15T14:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder Iterator overwriting results</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-iterator-overwriting-results/m-p/799562#M2766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to give the output tables a unique name using a model variable, ie: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;out_table%n%.dbf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you're done you can run the Merge tool to put them together. If you want to automate this process, you need to nest models and in the "outside" model, use the Collect tool to pipe that in to the Merge tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this makes some sense. At least it's better than trying to iterate in 9.3!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 18:34:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-iterator-overwriting-results/m-p/799562#M2766</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2011-09-15T18:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder Iterator overwriting results</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-iterator-overwriting-results/m-p/799563#M2767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;DUDE that worked, but here's a couple of notes for anyone else that runs into this.&amp;nbsp;&amp;nbsp; The "Collector tool" goes on the "inside" model that contains the iterator, BUT the Output of the Collector is flaged as a parameter for the "outer model".&amp;nbsp;&amp;nbsp; ALSO, I banged my head against a wall for 30 minutes because modelbuilder flagged the input tables into the collector as intermediate, and thus was deleting them right before the merge tool fired off!!&amp;nbsp;&amp;nbsp; Uncheck that box for this exercise.&amp;nbsp;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 15:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-iterator-overwriting-results/m-p/799563#M2767</guid>
      <dc:creator>BrandonLand</dc:creator>
      <dc:date>2011-09-16T15:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder Iterator overwriting results</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-iterator-overwriting-results/m-p/799564#M2768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome. For the good of the thread, here is the help section on all that. Sorry, should have posted this before:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/integrating-model-within-a-model.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/integrating-model-within-a-model.htm"&gt;Integrating a model within a model—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 02:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-iterator-overwriting-results/m-p/799564#M2768</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-11-02T02:17:03Z</dc:date>
    </item>
  </channel>
</rss>

