<?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: Iterate Field Values - Using Value in Select Layer By Attribute in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525358#M17470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I have everything set as you have described, however I'm still not getting a good result.&amp;nbsp; I have attached the model and the data if you wouldn't mind taking a look.&amp;nbsp; Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Apr 2013 13:21:22 GMT</pubDate>
    <dc:creator>BJMalone</dc:creator>
    <dc:date>2013-04-15T13:21:22Z</dc:date>
    <item>
      <title>Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525352#M17464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to build a model that iterates through the unique values of a field, then selects each of those values and calculates another field for that selection.&amp;nbsp; I'm having trouble passing the Value output from the iteration to the Select Layer by attribute tool.&amp;nbsp; For example each iteration would output a unique number, lets say 2104, then the Select Layer by Attribute tool would use 2104 as the selection criteria.&amp;nbsp; The model would iterate through all of the unique values calculating the field for each selected set.&amp;nbsp; I can't figure out how to get the Select Layer by attribute to use the output Value of the iteration.&amp;nbsp; Any help would be appreciated.&amp;nbsp; I am very new to model builder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 14:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525352#M17464</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-12T14:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525353#M17465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;BJ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at how the attached model is set up.&amp;nbsp; I set the input layer as input to both the Iterate Field Values iterator and the Select Layer by Attribute tool.&amp;nbsp; I used the Value output from the iterator as part of the expression in the Select Layer by Attribute tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 16:36:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525353#M17465</guid>
      <dc:creator>MatthewPayne</dc:creator>
      <dc:date>2013-04-12T16:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525354#M17466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help on this.&amp;nbsp; I am still having an issue.&amp;nbsp; How can I get the Expression for the Select Layer By Attribute to pull in the Value output from the Iterate Field Values?&amp;nbsp; The expression needs to be something like FieldName = Value for each iteration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 18:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525354#M17466</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-12T18:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525355#M17467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used "GridNumber" = %Value% but it does not select anything.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 19:15:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525355#M17467</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-12T19:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525356#M17468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"GridNumber" = %Value% is correct.&amp;nbsp; That is what worked on my end with my data.&amp;nbsp; What is the field type of GridNumber?&amp;nbsp; I used a short integer field.&amp;nbsp; Also, what is the 'Data Type (optional)' set to inside the Iterate Field Values parameter window?&amp;nbsp; Mine is set to String.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 22:22:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525356#M17468</guid>
      <dc:creator>MatthewPayne</dc:creator>
      <dc:date>2013-04-12T22:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525357#M17469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, feel free to attached your current model and input data file.&amp;nbsp; I can take a look at it for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 22:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525357#M17469</guid>
      <dc:creator>MatthewPayne</dc:creator>
      <dc:date>2013-04-12T22:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525358#M17470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I have everything set as you have described, however I'm still not getting a good result.&amp;nbsp; I have attached the model and the data if you wouldn't mind taking a look.&amp;nbsp; Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 13:21:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525358#M17470</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-15T13:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525359#M17471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to get this to successfully run on my end with a basic field calculation.&amp;nbsp; The issue seems to be within your code block possibly, I'll take a look.&amp;nbsp; What is the outcome you are expecting to see?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 14:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525359#M17471</guid>
      <dc:creator>MatthewPayne</dc:creator>
      <dc:date>2013-04-15T14:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525360#M17472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For all features with a "GridNumber" that is the same, the "FeatureNumber" field would be get an incremental value of 1 through n.&amp;nbsp; For example if 5 features have a "GridNumber" = 3105, then "FeatureNumber" would be 1, 2, 3, 4, and 5.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 15:02:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525360#M17472</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-15T15:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525361#M17473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the Calculate Field tool, try changing the Expression Type to PYTHON_9.3.&amp;nbsp; This change allowed the model to run successfully on my end with your exact code block.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 15:18:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525361#M17473</guid>
      <dc:creator>MatthewPayne</dc:creator>
      <dc:date>2013-04-15T15:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525362#M17474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I run the model it doesn't seem to get past the first iteration.&amp;nbsp; It looks like Value = 1 instead of a the first value from the GridNumber field.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 15:33:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525362#M17474</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-15T15:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525363#M17475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure what may be going on.&amp;nbsp; I have attached a model and shapefile that works correctly on my end.&amp;nbsp; See if you can successfully run it as well on your end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 23:10:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525363#M17475</guid>
      <dc:creator>MatthewPayne</dc:creator>
      <dc:date>2013-04-16T23:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525364#M17476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't see a model inside of toolbox1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 17:44:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525364#M17476</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-17T17:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525365#M17477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please reattach the toolbox with the model?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 13:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525365#M17477</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-19T13:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525366#M17478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of ArcGIS for Desktop are you utilizing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 13:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525366#M17478</guid>
      <dc:creator>MatthewPayne</dc:creator>
      <dc:date>2013-04-19T13:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525367#M17479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have tried on 10.0 and 10.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 13:17:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525367#M17479</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-19T13:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525368#M17480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try this one.&amp;nbsp; Be sure to extract the contents from the zip folder first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 13:29:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525368#M17480</guid>
      <dc:creator>MatthewPayne</dc:creator>
      <dc:date>2013-04-19T13:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525369#M17481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I must be missing something.&amp;nbsp; When I add your toolbox, there doesn't seem to be anything in it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 13:43:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525369#M17481</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-19T13:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525370#M17482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had a few of my collegues attempt to open the model and they were successful.&amp;nbsp; I am not sure what may be going on.&amp;nbsp; Confirm that you are taking the exact same steps as entailed in the .swf video file below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 14:24:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525370#M17482</guid>
      <dc:creator>MatthewPayne</dc:creator>
      <dc:date>2013-04-19T14:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate Field Values - Using Value in Select Layer By Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525371#M17483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot see the model inside the toolbox in version 10.0.&amp;nbsp; However, I moved to a 10.1 machine and can access it.&amp;nbsp; I ran the model exactly as you have it with the point3 file and it worked as expected.&amp;nbsp; I replaced your point3 file with my file and reran the model and it is currently running through all the iterations.&amp;nbsp; It may take it awhile to complete, but I will let you know the results when it's complete.&amp;nbsp; Thanks for you help on this.&amp;nbsp; I'm beginning to think something in my 10.0 installation was the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW are you the same Matt Payne from WKU?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 15:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-field-values-using-value-in-select-layer/m-p/525371#M17483</guid>
      <dc:creator>BJMalone</dc:creator>
      <dc:date>2013-04-19T15:32:32Z</dc:date>
    </item>
  </channel>
</rss>

