<?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 Add form to Model Builder script? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/add-form-to-model-builder-script/m-p/333299#M11680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Model Builder model that has 9 function. The last function creates a raster coverage called wind.img&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to add a text form so the user can enter a prefix (saved as a string) so the raster will be called May2008_wind.img&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help!!&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 May 2010 07:27:01 GMT</pubDate>
    <dc:creator>rembert</dc:creator>
    <dc:date>2010-05-26T07:27:01Z</dc:date>
    <item>
      <title>Add form to Model Builder script?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/add-form-to-model-builder-script/m-p/333299#M11680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Model Builder model that has 9 function. The last function creates a raster coverage called wind.img&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to add a text form so the user can enter a prefix (saved as a string) so the raster will be called May2008_wind.img&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help!!&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 07:27:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/add-form-to-model-builder-script/m-p/333299#M11680</guid>
      <dc:creator>rembert</dc:creator>
      <dc:date>2010-05-26T07:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Add form to Model Builder script?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/add-form-to-model-builder-script/m-p/333300#M11681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have not sorted this yet, I would suggest that you save the model as a Python script and add a variable line to the script (use notepad etc) under "gp.AddToolbox....." like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VAR1 = gp.getparameterastext(0) #This is the variable for arcmap field they will type May2008 in&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And then in the output path on the .img file type this in front of ".img"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+VAR1+".img" #this adds the variable to the raster output filename&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then in arcmap. Adds the py script to an arcmap toolbox. In the parameter settings add a "display name" called "name" and set the data type as "string"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 03:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/add-form-to-model-builder-script/m-p/333300#M11681</guid>
      <dc:creator>HaydenLewis</dc:creator>
      <dc:date>2010-07-08T03:53:02Z</dc:date>
    </item>
  </channel>
</rss>

