<?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: python code for &amp;quot;fill tool&amp;quot; ?? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/python-code-for-quot-fill-tool-quot/m-p/515031#M17084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of exporting from a model, you'll get better python output by running the tool from the ArcToolbox window, then clicking the Geoprocessing menu and opening the Results window, right click the process you just ran and select "Copy As Python Snippet". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/a/139258/2856"&gt;&lt;IMG alt="dPkuU.png" class="image-1 jive-image" src="http://i.stack.imgur.com/dPkuU.png" style="height: auto;" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(Image from this GIS StackExchange &lt;A href="http://gis.stackexchange.com/a/139258/2856"&gt;answer&lt;/A&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 19:24:37 GMT</pubDate>
    <dc:creator>Luke_Pinner</dc:creator>
    <dc:date>2015-03-25T19:24:37Z</dc:date>
    <item>
      <title>python code for "fill tool" ??</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-code-for-quot-fill-tool-quot/m-p/515029#M17082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z0000004w000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z0000004w000000"&gt;ArcGIS Help 10.1&lt;/A&gt; &lt;/P&gt;&lt;H1&gt;&lt;SPAN style="font-size: 10pt;"&gt;An overview of the Hydrology toolset&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;select Fill &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am new to python.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;the python code example for the Fill command starts with "create flow direction"&amp;nbsp; - also when I export my python code from my model that has the flow tool - I do not get the same 'syntax' ( i believe is the word I am looking for) my python code from export looks completely different then the example provided.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;my python export from model&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Process: Fill&lt;/P&gt;&lt;P&gt;arcpy.gp.Fill_sa(Dem_Patch, temp2, "")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am getting an error when trying to create my python code and run it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;ERROR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\geoprocessing\_base.py", line 498, in &amp;lt;lambda&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return lambda *args: val(*gp_fixargs(args, True))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 17:58:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-code-for-quot-fill-tool-quot/m-p/515029#M17082</guid>
      <dc:creator>als21</dc:creator>
      <dc:date>2015-03-25T17:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: python code for "fill tool" ??</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-code-for-quot-fill-tool-quot/m-p/515030#M17083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;of course figured out issue with the code -however the code in the examples in the training confused me a bit - the more I learn the python code, I am sure they will make sense. I am sorry I could not find where to delete a question..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 18:21:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-code-for-quot-fill-tool-quot/m-p/515030#M17083</guid>
      <dc:creator>als21</dc:creator>
      <dc:date>2015-03-25T18:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: python code for "fill tool" ??</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-code-for-quot-fill-tool-quot/m-p/515031#M17084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of exporting from a model, you'll get better python output by running the tool from the ArcToolbox window, then clicking the Geoprocessing menu and opening the Results window, right click the process you just ran and select "Copy As Python Snippet". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/a/139258/2856"&gt;&lt;IMG alt="dPkuU.png" class="image-1 jive-image" src="http://i.stack.imgur.com/dPkuU.png" style="height: auto;" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(Image from this GIS StackExchange &lt;A href="http://gis.stackexchange.com/a/139258/2856"&gt;answer&lt;/A&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 19:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-code-for-quot-fill-tool-quot/m-p/515031#M17084</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2015-03-25T19:24:37Z</dc:date>
    </item>
  </channel>
</rss>

