<?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 Python scripting problem for batch watershed delineation in Water Resources Questions</title>
    <link>https://community.esri.com/t5/water-resources-questions/python-scripting-problem-for-batch-watershed/m-p/694374#M3587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was trying to use python script to run the batch watershed delineation. So I started with modelbuilder and then exported the model to python script. The model run well but the script didn't. The exception error raised was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeError: 'module' object has no attribute 'BatchWatershedDelineation_archydro' &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess this is because the arcpy doesn't have the module "BatchWatershedDelineation". Does anybody know how to make it work in python script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ming&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 01:25:31 GMT</pubDate>
    <dc:creator>MingSheng</dc:creator>
    <dc:date>2012-02-23T01:25:31Z</dc:date>
    <item>
      <title>Python scripting problem for batch watershed delineation</title>
      <link>https://community.esri.com/t5/water-resources-questions/python-scripting-problem-for-batch-watershed/m-p/694374#M3587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was trying to use python script to run the batch watershed delineation. So I started with modelbuilder and then exported the model to python script. The model run well but the script didn't. The exception error raised was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeError: 'module' object has no attribute 'BatchWatershedDelineation_archydro' &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess this is because the arcpy doesn't have the module "BatchWatershedDelineation". Does anybody know how to make it work in python script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ming&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 01:25:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/python-scripting-problem-for-batch-watershed/m-p/694374#M3587</guid>
      <dc:creator>MingSheng</dc:creator>
      <dc:date>2012-02-23T01:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Python scripting problem for batch watershed delineation</title>
      <link>https://community.esri.com/t5/water-resources-questions/python-scripting-problem-for-batch-watershed/m-p/694375#M3588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I was trying to use python script to run the batch watershed delineation. So I started with modelbuilder and then exported the model to python script. The model run well but the script didn't. The exception error raised was:&lt;BR /&gt;&lt;BR /&gt;AttributeError: 'module' object has no attribute 'BatchWatershedDelineation_archydro' &lt;BR /&gt;&lt;BR /&gt;I guess this is because the arcpy doesn't have the module "BatchWatershedDelineation". Does anybody know how to make it work in python script?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Ming&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ming that sounds like your python script miss-assigned variables. That is usually the error message I see when I forget to assign a variable to an input. Could you post the python code you are using. That or just check to make sure all your model parameters have inputs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 15:35:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/python-scripting-problem-for-batch-watershed/m-p/694375#M3588</guid>
      <dc:creator>WillJames</dc:creator>
      <dc:date>2012-03-19T15:35:36Z</dc:date>
    </item>
  </channel>
</rss>

