<?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: Using a variable in the select data tool in  model builder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/using-a-variable-in-the-select-data-tool-in-model/m-p/763284#M3436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing that you need to realize about model iteration is that the entire model is iterated. If you want use iterators to create a list and merge, you need to do that in a submodel. The submodel would have an iterator in it and use Collect Values to create a multivalue that would be returned as a parameter to Merge in the parent model. This is the only way to nest iteration in ModelBuilder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/integrating-model-within-a-model.htm"&gt;Desktop 10.3 Help: Integration a model within a model &amp;gt; Advanced use of Model iterators&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2015 01:57:44 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2015-05-01T01:57:44Z</dc:date>
    <item>
      <title>Using a variable in the select data tool in  model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/using-a-variable-in-the-select-data-tool-in-model/m-p/763281#M3433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm developing a model which uses the select data tool and am trying to find a way to use this to iterate through a feature dataset. I'm stuck because the child data element does not seem to accept a variable such as %Name% only accepting a single feature class in the feature dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a simple way of performing this procedure or is it not possible to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a jpg of the model to this message which hopefully shows what I am trying to do - iterate through a feature dataset to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) select adjacent polygons&lt;/P&gt;&lt;P&gt;b) merge the adjacent polygons to the original feature class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The %name% variable is used so that the same feature class is selected for each iteration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully someone can help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:39:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/using-a-variable-in-the-select-data-tool-in-model/m-p/763281#M3433</guid>
      <dc:creator>alecmajor1</dc:creator>
      <dc:date>2015-04-08T14:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable in the select data tool in  model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/using-a-variable-in-the-select-data-tool-in-model/m-p/763282#M3434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The iterate feature classes tool iterates though feature classes in a workspace. It sounds like you want iterate feature selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:59:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/using-a-variable-in-the-select-data-tool-in-model/m-p/763282#M3434</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-04-08T14:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable in the select data tool in  model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/using-a-variable-in-the-select-data-tool-in-model/m-p/763283#M3435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will probably find this useful also: selecting adjacent features within a layer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Select_By_Location_Select_based_on_spatial_relationship_within_the_layer/0017000000tr000000/" title="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Select_By_Location_Select_based_on_spatial_relationship_within_the_layer/0017000000tr000000/"&gt;ArcGIS Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 15:05:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/using-a-variable-in-the-select-data-tool-in-model/m-p/763283#M3435</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-04-08T15:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable in the select data tool in  model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/using-a-variable-in-the-select-data-tool-in-model/m-p/763284#M3436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing that you need to realize about model iteration is that the entire model is iterated. If you want use iterators to create a list and merge, you need to do that in a submodel. The submodel would have an iterator in it and use Collect Values to create a multivalue that would be returned as a parameter to Merge in the parent model. This is the only way to nest iteration in ModelBuilder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/integrating-model-within-a-model.htm"&gt;Desktop 10.3 Help: Integration a model within a model &amp;gt; Advanced use of Model iterators&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 01:57:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/using-a-variable-in-the-select-data-tool-in-model/m-p/763284#M3436</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2015-05-01T01:57:44Z</dc:date>
    </item>
  </channel>
</rss>

