<?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 Iteration troubles in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/iteration-troubles/m-p/51702#M1799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: gjesdahj&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well I got further along in my model and decided to try running it for multiple values just to see if it worked and it didn't - it just ran the first one.&amp;nbsp; I think it's because there' no arrow from "value" to a process - all of ARC's examples have that as the case. All of the processes that use "value" just use it in %value% form - none of them just have "value" in them.&amp;nbsp; So for instance, the first thing that isn't the iteration is Select Layer by Attribute and the expression is "FID_1_1" = %value%.&amp;nbsp; Clearly I can't change the expression to just Value, so I don't know what to do.&amp;nbsp; Does anyone have any ideas on this? I apologize for not really knowing how iterations work, but it seems like ARC is sort of a learning through doing thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jacob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 May 2013 18:23:48 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2013-05-20T18:23:48Z</dc:date>
    <item>
      <title>Iteration troubles</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iteration-troubles/m-p/51702#M1799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: gjesdahj&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well I got further along in my model and decided to try running it for multiple values just to see if it worked and it didn't - it just ran the first one.&amp;nbsp; I think it's because there' no arrow from "value" to a process - all of ARC's examples have that as the case. All of the processes that use "value" just use it in %value% form - none of them just have "value" in them.&amp;nbsp; So for instance, the first thing that isn't the iteration is Select Layer by Attribute and the expression is "FID_1_1" = %value%.&amp;nbsp; Clearly I can't change the expression to just Value, so I don't know what to do.&amp;nbsp; Does anyone have any ideas on this? I apologize for not really knowing how iterations work, but it seems like ARC is sort of a learning through doing thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jacob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 18:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iteration-troubles/m-p/51702#M1799</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-20T18:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: More iteration trouble</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iteration-troubles/m-p/51703#M1800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Well I got further along in my model and decided to try running it for multiple values just to see if it worked and it didn't - it just ran the first one.&amp;nbsp; I think it's because there' no arrow from "value" to a process - all of ARC's examples have that as the case. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jacob, I think you are using the wrong iterator, passing the output of iterate field values into a select by attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you want to use here is &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/0040/00400000000s000000.htm"&gt;Iterate Field Selection&lt;/A&gt;&lt;SPAN&gt;, this will output a layer with a active selection to pipe into your processing chain, each unique value (or combination, if you specify more than one) can then be processed in sequence.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I moved this to a new thread in the Geoprocessing forum...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;I apologize for not really knowing how iterations work, but it seems like ARC is sort of a learning through doing thing.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, but that said, there are some very useful free resources at &lt;/SPAN&gt;&lt;A href="http://training.esri.com"&gt;http://training.esri.com&lt;/A&gt;&lt;SPAN&gt; -- and the online help chapter on iterators keeps improving (along with the software).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 04:17:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iteration-troubles/m-p/51703#M1800</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-05-21T04:17:38Z</dc:date>
    </item>
  </channel>
</rss>

