<?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 Modelbuilder exports empty Python script on some models in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-exports-empty-python-script-on-some/m-p/1621695#M4087</link>
    <description>&lt;P&gt;I have a bunch of models from this analysis I did and I am trying to export them all as .py files. However out of about 20 models, two just export empty scripts, other than a header like:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;#Required only when there are SubModel(s)&lt;BR /&gt;import sys&lt;BR /&gt;sys.path.append(r"C:\Users\Usresname\AppData\Local\Temp\ArcGISProTemp34100")&lt;BR /&gt;# -*- coding: utf-8 -*-&lt;BR /&gt;"""&lt;BR /&gt;Generated by ArcGIS ModelBuilder on : 2025-06-06 17:19:06&lt;BR /&gt;"""&lt;/P&gt;&lt;P&gt;Even when I have it send it to the Python window in ArcPro, I still get that. I am uploading pictures of what these two models look like. Anyone have any idea?&lt;/P&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarrettLewis1_0-1749255960995.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133959iB9F452B8F2B6622E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarrettLewis1_0-1749255960995.png" alt="BarrettLewis1_0-1749255960995.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Sat, 07 Jun 2025 00:26:43 GMT</pubDate>
    <dc:creator>BarrettLewis1</dc:creator>
    <dc:date>2025-06-07T00:26:43Z</dc:date>
    <item>
      <title>Modelbuilder exports empty Python script on some models</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-exports-empty-python-script-on-some/m-p/1621695#M4087</link>
      <description>&lt;P&gt;I have a bunch of models from this analysis I did and I am trying to export them all as .py files. However out of about 20 models, two just export empty scripts, other than a header like:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;#Required only when there are SubModel(s)&lt;BR /&gt;import sys&lt;BR /&gt;sys.path.append(r"C:\Users\Usresname\AppData\Local\Temp\ArcGISProTemp34100")&lt;BR /&gt;# -*- coding: utf-8 -*-&lt;BR /&gt;"""&lt;BR /&gt;Generated by ArcGIS ModelBuilder on : 2025-06-06 17:19:06&lt;BR /&gt;"""&lt;/P&gt;&lt;P&gt;Even when I have it send it to the Python window in ArcPro, I still get that. I am uploading pictures of what these two models look like. Anyone have any idea?&lt;/P&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarrettLewis1_0-1749255960995.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133959iB9F452B8F2B6622E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarrettLewis1_0-1749255960995.png" alt="BarrettLewis1_0-1749255960995.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sat, 07 Jun 2025 00:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-exports-empty-python-script-on-some/m-p/1621695#M4087</guid>
      <dc:creator>BarrettLewis1</dc:creator>
      <dc:date>2025-06-07T00:26:43Z</dc:date>
    </item>
  </channel>
</rss>

