<?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: User selects 1 of 2 shapefiles as a single input. in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/modelbuilder-user-selects-1-of-2-shapefiles-as-a/m-p/592100#M19622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_stand_alone_variables/002w0000003v000000/" rel="nofollow"&gt;Create a string variable&lt;/A&gt;&lt;SPAN&gt; in the model and &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Resizing_repositioning_and_renaming_elements/002w0000002t000000/" rel="nofollow"&gt;rename&lt;/A&gt;&lt;SPAN&gt; it to &lt;/SPAN&gt;&lt;STRONG style="color: &amp;quot;#FF0000&amp;quot;;"&gt;Location&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Make it a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_model_parameters/002w0000003z000000/" rel="nofollow"&gt;model parameter&lt;/A&gt;&lt;SPAN&gt;. Set a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Value_list_filter/002w00000042000000/" rel="nofollow"&gt;value list filter&lt;/A&gt;&lt;SPAN&gt; on this variable (read help)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The value list will have two values - 1) Greenland 2) Antarctica&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rename your feature class to have the same spelling/name as these entries in the value list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Value_list_filter/002w00000042000000/" rel="nofollow"&gt;Value list&lt;/A&gt; is the way a user would choose a location.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now use the variable name in the input path to your tool like this - C:\Temp\%Location%&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This &lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Examples_of_inline_model_variable_substitution/002w0000005w000000/" rel="nofollow"&gt;inline variable substitution&lt;/A&gt; is the way the user selected value will be used in your tools to select the input.&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2012 21:01:20 GMT</pubDate>
    <dc:creator>ShitijMehta</dc:creator>
    <dc:date>2012-04-23T21:01:20Z</dc:date>
    <item>
      <title>Modelbuilder: User selects 1 of 2 shapefiles as a single input.</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/modelbuilder-user-selects-1-of-2-shapefiles-as-a/m-p/592099#M19621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This one may be simple, but it is eluding me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an input shapefile to a process that needs to be 1 of 2 possible files (These options are static files)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want the user to select one from a list. Basically the tool works either in Greenland or Antarctica and uses a point shapefile. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(There is one for Greenland and one for Antarctica). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The user should select from the list whatever are they are in and the associated file would be chosen and then used in the rest of the process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 20:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/modelbuilder-user-selects-1-of-2-shapefiles-as-a/m-p/592099#M19621</guid>
      <dc:creator>KylePurdon</dc:creator>
      <dc:date>2012-04-23T20:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Modelbuilder: User selects 1 of 2 shapefiles as a single input.</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/modelbuilder-user-selects-1-of-2-shapefiles-as-a/m-p/592100#M19622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_stand_alone_variables/002w0000003v000000/" rel="nofollow"&gt;Create a string variable&lt;/A&gt;&lt;SPAN&gt; in the model and &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Resizing_repositioning_and_renaming_elements/002w0000002t000000/" rel="nofollow"&gt;rename&lt;/A&gt;&lt;SPAN&gt; it to &lt;/SPAN&gt;&lt;STRONG style="color: &amp;quot;#FF0000&amp;quot;;"&gt;Location&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Make it a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_model_parameters/002w0000003z000000/" rel="nofollow"&gt;model parameter&lt;/A&gt;&lt;SPAN&gt;. Set a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Value_list_filter/002w00000042000000/" rel="nofollow"&gt;value list filter&lt;/A&gt;&lt;SPAN&gt; on this variable (read help)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The value list will have two values - 1) Greenland 2) Antarctica&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rename your feature class to have the same spelling/name as these entries in the value list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Value_list_filter/002w00000042000000/" rel="nofollow"&gt;Value list&lt;/A&gt; is the way a user would choose a location.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now use the variable name in the input path to your tool like this - C:\Temp\%Location%&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This &lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Examples_of_inline_model_variable_substitution/002w0000005w000000/" rel="nofollow"&gt;inline variable substitution&lt;/A&gt; is the way the user selected value will be used in your tools to select the input.&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 21:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/modelbuilder-user-selects-1-of-2-shapefiles-as-a/m-p/592100#M19622</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2012-04-23T21:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Modelbuilder: User selects 1 of 2 shapefiles as a single input.</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/modelbuilder-user-selects-1-of-2-shapefiles-as-a/m-p/592101#M19623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was so close to the solution and all it took was a fresh mind to take it the rest of the way!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already have the string variable with a value list selection built in. With some file renaming and insertion of the string into the path it will work perfectly!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 21:25:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/modelbuilder-user-selects-1-of-2-shapefiles-as-a/m-p/592101#M19623</guid>
      <dc:creator>KylePurdon</dc:creator>
      <dc:date>2012-04-23T21:25:28Z</dc:date>
    </item>
  </channel>
</rss>

