<?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: Question about creating a variable from an expression parameter in Model Builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/question-about-creating-a-variable-from-an/m-p/563256#M18625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For sure this can be done with inline variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;High level help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w0000001t000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w0000001t000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Inline vars in Modelbuilder:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Examples_of_inline_model_variable_substitution/002w0000005w000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Examples_of_inline_model_variable_substitution/002w0000005w000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example 3 from the above topic pretty much does exactly what you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a variable, then use the inline variable in your select statement.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2012 14:48:41 GMT</pubDate>
    <dc:creator>KevinHibma</dc:creator>
    <dc:date>2012-03-22T14:48:41Z</dc:date>
    <item>
      <title>Question about creating a variable from an expression parameter in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/question-about-creating-a-variable-from-an/m-p/563255#M18624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to create a simple model to automate a repetitive task for exporting some points as a shapefile.&amp;nbsp;&amp;nbsp; Essentially, the idea is to select several route segments based on an attribute containing the name of the route using the Select Layer by Attribute tool, then to select points within a certain distance of the previously selected routes and export them as a shapefile.&amp;nbsp; I have it working when I plug in some example data, but I am finding it harder than I expected to prompt the user to input the name of the route to start the initial selection.&amp;nbsp; The query I am using is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Line_Name = 'Route Name'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am hoping to set it up so that the users only have to enter 'Route Name' without having to choose the Line_Name field first.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can this be done in Model Builder?&amp;nbsp; Would Python be a better choice?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 13:45:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/question-about-creating-a-variable-from-an/m-p/563255#M18624</guid>
      <dc:creator>SummerChandler</dc:creator>
      <dc:date>2012-03-22T13:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Question about creating a variable from an expression parameter in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/question-about-creating-a-variable-from-an/m-p/563256#M18625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For sure this can be done with inline variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;High level help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w0000001t000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w0000001t000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Inline vars in Modelbuilder:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Examples_of_inline_model_variable_substitution/002w0000005w000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Examples_of_inline_model_variable_substitution/002w0000005w000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example 3 from the above topic pretty much does exactly what you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a variable, then use the inline variable in your select statement.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 14:48:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/question-about-creating-a-variable-from-an/m-p/563256#M18625</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2012-03-22T14:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Question about creating a variable from an expression parameter in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/question-about-creating-a-variable-from-an/m-p/563257#M18626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Exactly what I needed.&amp;nbsp; Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 14:43:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/question-about-creating-a-variable-from-an/m-p/563257#M18626</guid>
      <dc:creator>SummerChandler</dc:creator>
      <dc:date>2012-03-26T14:43:28Z</dc:date>
    </item>
  </channel>
</rss>

