<?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: How to run the same model builder in different geodatabases? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-run-the-same-model-builder-in-different/m-p/355311#M12332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use a Model then, I can't think of any option other than what Luke has suggested. &lt;SPAN style="line-height: 1.5;"&gt;If you can export your model as a script then, possibly you can attempt below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create an environment variable pointing to a txt file, containing your feature class variable parameters.&lt;/LI&gt;&lt;LI&gt;Get the environment variable in your python script and read through the file to create a dictionary of values.&lt;/LI&gt;&lt;LI&gt;Use the variables in the dictionary as input for your processes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached script reads a variable file. &lt;/P&gt;&lt;P&gt;Below was the content of my variable file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var1||something&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var2||C:\tempdelete\PL_TO_LINE.gdb\PL\CONSOLIDATED&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var1||override&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2014 13:23:07 GMT</pubDate>
    <dc:creator>RiyasDeen</dc:creator>
    <dc:date>2014-08-25T13:23:07Z</dc:date>
    <item>
      <title>How to run the same model builder in different geodatabases?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-run-the-same-model-builder-in-different/m-p/355309#M12330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to work on a model builder script run it in my desktop geodatabase, then I want to test it in a SDE development database and deploy it to an SDE production geodatabase.&amp;nbsp; Is there a tool in Model Builder that allows to point to a specific geodatabase, instead of changing the properties of each feature to change the path to the feature class in the new geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2014 14:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-run-the-same-model-builder-in-different/m-p/355309#M12330</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2014-08-23T14:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the same model builder in different geodatabases?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-run-the-same-model-builder-in-different/m-p/355310#M12331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set your input /output feature classes as &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002w0000007v000000"&gt;model parameters&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2014 09:36:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-run-the-same-model-builder-in-different/m-p/355310#M12331</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2014-08-24T09:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the same model builder in different geodatabases?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-run-the-same-model-builder-in-different/m-p/355311#M12332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use a Model then, I can't think of any option other than what Luke has suggested. &lt;SPAN style="line-height: 1.5;"&gt;If you can export your model as a script then, possibly you can attempt below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create an environment variable pointing to a txt file, containing your feature class variable parameters.&lt;/LI&gt;&lt;LI&gt;Get the environment variable in your python script and read through the file to create a dictionary of values.&lt;/LI&gt;&lt;LI&gt;Use the variables in the dictionary as input for your processes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached script reads a variable file. &lt;/P&gt;&lt;P&gt;Below was the content of my variable file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var1||something&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var2||C:\tempdelete\PL_TO_LINE.gdb\PL\CONSOLIDATED&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var1||override&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 13:23:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-run-the-same-model-builder-in-different/m-p/355311#M12332</guid>
      <dc:creator>RiyasDeen</dc:creator>
      <dc:date>2014-08-25T13:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the same model builder in different geodatabases?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-run-the-same-model-builder-in-different/m-p/355312#M12333</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;It seems that "Setting environments for an entire model"&amp;nbsp; in &lt;A href="http://resources.arcgis.com/en/help/main/10.2/018q/018q00000004000000.htm" rel="018q/018q00000004000000.htm"&gt;Desktop&lt;/A&gt; » &lt;A href="http://resources.arcgis.com/en/help/main/10.2/002s/002s00000001000000.htm" rel="002s/002s00000001000000.htm"&gt;Geoprocessing&lt;/A&gt; » &lt;A href="http://resources.arcgis.com/en/help/main/10.2/002w/002w00000001000000.htm" rel="002w/002w00000001000000.htm"&gt;ModelBuilder&lt;/A&gt; » &lt;A href="http://resources.arcgis.com/en/help/main/10.2/002w/002w00000034000000.htm" rel="002w/002w00000034000000.htm"&gt;Using ModelBuilder to execute tools&lt;/A&gt; is what I need&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, 27 Aug 2014 19:09:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-run-the-same-model-builder-in-different/m-p/355312#M12333</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2014-08-27T19:09:17Z</dc:date>
    </item>
  </channel>
</rss>

