<?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 Improve running time of scripts? in Fusion Electronics Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-electronics-forum/improve-running-time-of-scripts/m-p/9409746#M18092</link>
    <description>&lt;P&gt;New to Fusion 360 (long-time Eagle user), I'm attempting to use some scripts we've developed for doing LED matrices in Fusion 360.&amp;nbsp; While the scripts are actually executing just fine, they are running incredibly slowly.&amp;nbsp; It appears that the "command helper windows" are being animated even while a script is executing, and this is perhaps slowing things down significantly.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The board script was a good bit slower than the schematic script, but both took a while.&lt;BR /&gt;&lt;BR /&gt;Here is video of the script in action:&amp;nbsp;&lt;A href="https://twitter.com/BenPeoplesInd/status/1243251969990459400" target="_blank"&gt;https://twitter.com/BenPeoplesInd/status/1243251969990459400&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It took a total of 30 minutes to run this script, which consists of 3441 commands, so took about half a second to execute each command (on average).&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here's a few excerpts (proprietary, so I'd like to not post the whole script):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;MOVE LED18 (68.0 0.0);
MOVE LED19 (72.0 0.0);
MOVE LED20 (72.0 4.0);
ROTATE R180 LED20;
MOVE LED21 (68.0 4.0);
ROTATE R180 LED21;
MOVE LED22 (64.0 4.0);
ROTATE R180 LED22;
SET WIRE_BEND 2;
WIRE 0.4 (2.9 19.35) (2.9 18.35) (6.9 18.35) (6.9 19.35);
WIRE 0.4 (5.1 20.65) (5.1 21.65) (9.1 21.65) (9.1 20.65);
WIRE 0.2 (5.1 19.35) (6.9 20.65);
SET WIRE_BEND 2;
VIA 0.2 Round (34.9 90.35) 
VIA 0.2 Round (37.1 93.65) &lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;In AutoCAD, there's always been a way to call the "plain command" with an underscore before the command and avoid all the UI goodness.&amp;nbsp; &amp;nbsp;There doesn't seem to be a similar functionality in Fusion 360.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any solutions here, or do we just need to schedule a coffee break before running scripts?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2020 15:04:53 GMT</pubDate>
    <dc:creator>benL9LDN</dc:creator>
    <dc:date>2020-03-30T15:04:53Z</dc:date>
    <item>
      <title>Improve running time of scripts?</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/improve-running-time-of-scripts/m-p/9409746#M18092</link>
      <description>&lt;P&gt;New to Fusion 360 (long-time Eagle user), I'm attempting to use some scripts we've developed for doing LED matrices in Fusion 360.&amp;nbsp; While the scripts are actually executing just fine, they are running incredibly slowly.&amp;nbsp; It appears that the "command helper windows" are being animated even while a script is executing, and this is perhaps slowing things down significantly.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The board script was a good bit slower than the schematic script, but both took a while.&lt;BR /&gt;&lt;BR /&gt;Here is video of the script in action:&amp;nbsp;&lt;A href="https://twitter.com/BenPeoplesInd/status/1243251969990459400" target="_blank"&gt;https://twitter.com/BenPeoplesInd/status/1243251969990459400&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It took a total of 30 minutes to run this script, which consists of 3441 commands, so took about half a second to execute each command (on average).&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here's a few excerpts (proprietary, so I'd like to not post the whole script):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;MOVE LED18 (68.0 0.0);
MOVE LED19 (72.0 0.0);
MOVE LED20 (72.0 4.0);
ROTATE R180 LED20;
MOVE LED21 (68.0 4.0);
ROTATE R180 LED21;
MOVE LED22 (64.0 4.0);
ROTATE R180 LED22;
SET WIRE_BEND 2;
WIRE 0.4 (2.9 19.35) (2.9 18.35) (6.9 18.35) (6.9 19.35);
WIRE 0.4 (5.1 20.65) (5.1 21.65) (9.1 21.65) (9.1 20.65);
WIRE 0.2 (5.1 19.35) (6.9 20.65);
SET WIRE_BEND 2;
VIA 0.2 Round (34.9 90.35) 
VIA 0.2 Round (37.1 93.65) &lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;In AutoCAD, there's always been a way to call the "plain command" with an underscore before the command and avoid all the UI goodness.&amp;nbsp; &amp;nbsp;There doesn't seem to be a similar functionality in Fusion 360.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any solutions here, or do we just need to schedule a coffee break before running scripts?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 15:04:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/improve-running-time-of-scripts/m-p/9409746#M18092</guid>
      <dc:creator>benL9LDN</dc:creator>
      <dc:date>2020-03-30T15:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Improve running time of scripts?</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/improve-running-time-of-scripts/m-p/9418599#M18093</link>
      <description>Hello &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8812948"&gt;@benL9LDN&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I've passed this along to our developers for review. Let me know if there's anything else I can do for you.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Jorge Garcia</description>
      <pubDate>Thu, 02 Apr 2020 19:49:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/improve-running-time-of-scripts/m-p/9418599#M18093</guid>
      <dc:creator>jorge_garcia</dc:creator>
      <dc:date>2020-04-02T19:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Improve running time of scripts?</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/improve-running-time-of-scripts/m-p/9418615#M18094</link>
      <description>&lt;P&gt;Thanks Jorge!&lt;BR /&gt;&lt;BR /&gt;If they want to reach out directly, I'm happy to supply complete scripts for testing.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;-- Ben&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 19:56:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/improve-running-time-of-scripts/m-p/9418615#M18094</guid>
      <dc:creator>benL9LDN</dc:creator>
      <dc:date>2020-04-02T19:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Improve running time of scripts?</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/improve-running-time-of-scripts/m-p/9594971#M18095</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8812948"&gt;@benL9LDN&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope all is well.&lt;/P&gt;
&lt;P&gt;We just released new Fusion 360 version&amp;nbsp;&lt;SPAN&gt;2.0.8560 today which includes the fix for the issue you reported.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Could you please upgrade Fusion 360 and have a try?&lt;/P&gt;
&lt;P&gt;Hope it works and thank you very much for reporting it to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Helen&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 03:46:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/improve-running-time-of-scripts/m-p/9594971#M18095</guid>
      <dc:creator>HelenChen-AutodeskQA</dc:creator>
      <dc:date>2020-06-23T03:46:41Z</dc:date>
    </item>
  </channel>
</rss>

