<?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 Script Output Different than Model Builder in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-script-output-different-than-model-builder/m-p/38894#M3049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running into a very strange issue where some of my outputs are different depending on if I run the model builder or the script which was created from the model builder. When I run the model builder, everything is correct. However, we have a script set up to run nightly on a task scheduler, and 3 of the 5 outputs are not correct when the script runs. DCU's and Reclosers turn out correctly from the script but Capacitors, Regulators, and Switches somehow end up being a polygon output when they're supposed to be points. I've gone through the script to try and find the problem but I'm not sure why the output is a polygon and why this is only happening for some of the shapefiles. We are running arcgis desktop 10.5.1 and are on version 2.7 for Python.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/453127_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2019 21:07:09 GMT</pubDate>
    <dc:creator>AdamBakiera</dc:creator>
    <dc:date>2019-07-15T21:07:09Z</dc:date>
    <item>
      <title>Python Script Output Different than Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/python-script-output-different-than-model-builder/m-p/38894#M3049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running into a very strange issue where some of my outputs are different depending on if I run the model builder or the script which was created from the model builder. When I run the model builder, everything is correct. However, we have a script set up to run nightly on a task scheduler, and 3 of the 5 outputs are not correct when the script runs. DCU's and Reclosers turn out correctly from the script but Capacitors, Regulators, and Switches somehow end up being a polygon output when they're supposed to be points. I've gone through the script to try and find the problem but I'm not sure why the output is a polygon and why this is only happening for some of the shapefiles. We are running arcgis desktop 10.5.1 and are on version 2.7 for Python.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/453127_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 21:07:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-output-different-than-model-builder/m-p/38894#M3049</guid>
      <dc:creator>AdamBakiera</dc:creator>
      <dc:date>2019-07-15T21:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script Output Different than Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/python-script-output-different-than-model-builder/m-p/38895#M3050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Model builder is not exporting the script right? What about taking the python script and running it in an IDE, like pycharm or pyscripter? Then you could set breakpoints and see where things are going bad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 00:42:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-output-different-than-model-builder/m-p/38895#M3050</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2019-07-16T00:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script Output Different than Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/python-script-output-different-than-model-builder/m-p/38896#M3051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have been having this issue as well...any fixes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 15:16:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-output-different-than-model-builder/m-p/38896#M3051</guid>
      <dc:creator>ChandraWaller</dc:creator>
      <dc:date>2019-08-28T15:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script Output Different than Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/python-script-output-different-than-model-builder/m-p/38897#M3052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only 'fix' that worked was to re-write the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 13:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-output-different-than-model-builder/m-p/38897#M3052</guid>
      <dc:creator>AdamBakiera</dc:creator>
      <dc:date>2019-08-29T13:46:33Z</dc:date>
    </item>
  </channel>
</rss>

