<?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 Runtime Questions in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/python-runtime-questions/m-p/7358573#M17622</link>
    <description>&lt;P&gt;This isn't available&amp;nbsp;external to Fusion (it is built dynamically, and loaded modules extend it). &amp;nbsp;In Fusion in the 'Text Commands' palette when running in the 'Py' mode, you can run 'sys.path' to get the current system path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kris&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2017 14:39:39 GMT</pubDate>
    <dc:creator>KrisKaplan</dc:creator>
    <dc:date>2017-09-06T14:39:39Z</dc:date>
    <item>
      <title>Python Runtime Questions</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/python-runtime-questions/m-p/7356269#M17619</link>
      <description>&lt;P&gt;I have a couple of questions about how the Python runtime environment works with Fusion 360.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, is there a way to execute a python script without manually executing it from Fusion 360? I have VS PyTools and I would like to start my script from the VS. Right now, I have to attach the debugger to the Fusion 360 process and then launch my Script from the Add-In menu so that it can stop at my breakpoints. This is a bit cumbersome. Is there a way to tell fusion 360 to execute a script externally?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, is there a configuration setting for Fusion 360's Python interpreter? I don't see a PythonPath environment variable. Theoretically, the interpreter's version shouldn't matter provided it is compatible with the Fusion API import files. I am assuming Fusion 360's API architecture has a clear wall between a Python add in and the host as it does with its C++ DLLs counterparts. It may be, however, that Fusion 360 uses Python internally and requires the same interpreter to be used.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 20:54:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/python-runtime-questions/m-p/7356269#M17619</guid>
      <dc:creator>markusbarnes</dc:creator>
      <dc:date>2017-09-05T20:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Python Runtime Questions</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/python-runtime-questions/m-p/7356893#M17620</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately there is no way to let Fusion 360 execute a script externally. That is probably the point we can improve in the near future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding to the setting of Python interpreter, we deliver specific Python version(e.g. 3.5.3) with Fusion 360 together. All parts(including Fusion Python API) in Fusion 360 will use the version of Python. We will do compatibility testing every time when we upgrade Python version. &amp;nbsp;Meanwhile some 3rd-party developers will also create their applications (with pyc files only) based on the version. So we don't provide the setting to let users change&amp;nbsp;Python interpreter.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marshal&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 02:28:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/python-runtime-questions/m-p/7356893#M17620</guid>
      <dc:creator>marshaltu</dc:creator>
      <dc:date>2017-09-06T02:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Python Runtime Questions</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/python-runtime-questions/m-p/7358436#M17621</link>
      <description>&lt;P&gt;Is there a file or facility for retrieving Fusion 360's Python path? &amp;nbsp;Curenty, I have to change PyTool's python path &amp;nbsp;for every new update.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 14:03:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/python-runtime-questions/m-p/7358436#M17621</guid>
      <dc:creator>markusbarnes</dc:creator>
      <dc:date>2017-09-06T14:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Python Runtime Questions</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/python-runtime-questions/m-p/7358573#M17622</link>
      <description>&lt;P&gt;This isn't available&amp;nbsp;external to Fusion (it is built dynamically, and loaded modules extend it). &amp;nbsp;In Fusion in the 'Text Commands' palette when running in the 'Py' mode, you can run 'sys.path' to get the current system path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kris&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 14:39:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/python-runtime-questions/m-p/7358573#M17622</guid>
      <dc:creator>KrisKaplan</dc:creator>
      <dc:date>2017-09-06T14:39:39Z</dc:date>
    </item>
  </channel>
</rss>

