<?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: How To Trigger Event From Add-In At Regular Time Intervals (Every Second / Minute)? in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10974848#M6504</link>
    <description>Awesome, thank you. I did not know that Fusion supported multi-threading. This should open up many possibilities for me.</description>
    <pubDate>Mon, 28 Feb 2022 08:29:43 GMT</pubDate>
    <dc:creator>therealsamchaney</dc:creator>
    <dc:date>2022-02-28T08:29:43Z</dc:date>
    <item>
      <title>How To Trigger Event From Add-In At Regular Time Intervals (Every Second / Minute)?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10973600#M6501</link>
      <description>&lt;P&gt;Is it possible through the Fusion 360 API to create an add-in or script that does something at a regular time interval like every second or every minute? I haven't seen anything like that in the examples and I don't know which object or method to look for.&lt;BR /&gt;&lt;BR /&gt;I would love to be able to update things in almost real time. For instance I would like to make a kaleidoscope sketch tool which creates a number of radial mirrors that update continuously to mirror every line or curve you create immediately.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This would need to not tie up Fusion's GUI, and would need to let the user do things while/between the triggers/updates.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is something like this possible, and if so, where should I start?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;-Sam&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 19:37:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10973600#M6501</guid>
      <dc:creator>therealsamchaney</dc:creator>
      <dc:date>2022-02-26T19:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: How To Trigger Event From Add-In At Regular Time Intervals (Every Second / Minute)?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10974158#M6502</link>
      <description>&lt;P&gt;Yes, it is definetely possible, what you would need to do is create a seperate thread running on a loop and using a custom event to make API calls. See &lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-F9FD4A6D-C59F-4176-9003-CE04F7558CCC" target="_blank" rel="noopener"&gt;this page&lt;/A&gt; for more information.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Feb 2022 15:11:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10974158#M6502</guid>
      <dc:creator>tykapl.breuil</dc:creator>
      <dc:date>2022-02-27T15:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: How To Trigger Event From Add-In At Regular Time Intervals (Every Second / Minute)?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10974838#M6503</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7507875"&gt;@therealsamchaney&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of checking at regular time intervals, it may be possible to use UserInterface.commandTerminated Event.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-E381414E-1CFF-4007-B1DF-C413D7E6841A" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-E381414E-1CFF-4007-B1DF-C413D7E6841A&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 08:19:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10974838#M6503</guid>
      <dc:creator>kandennti</dc:creator>
      <dc:date>2022-02-28T08:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: How To Trigger Event From Add-In At Regular Time Intervals (Every Second / Minute)?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10974848#M6504</link>
      <description>Awesome, thank you. I did not know that Fusion supported multi-threading. This should open up many possibilities for me.</description>
      <pubDate>Mon, 28 Feb 2022 08:29:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10974848#M6504</guid>
      <dc:creator>therealsamchaney</dc:creator>
      <dc:date>2022-02-28T08:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: How To Trigger Event From Add-In At Regular Time Intervals (Every Second / Minute)?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10975770#M6505</link>
      <description>&lt;P&gt;Fusion should be considered a single-threaded application. This is entirely true because there are a few things that it will spawn a new thread for some processing but that is the exception. Almost all of Fusion runs within a single thread. This includes the user interface and the API. They all run in the main Fusion thread.&amp;nbsp; You can do some external processing that doesn't involve Fusion in a separate thread and then for that thread to communicate with your add-in running in the main thread you can use the &lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-F9FD4A6D-C59F-4176-9003-CE04F7558CCC" target="_blank" rel="noopener"&gt;Custom Event&lt;/A&gt; functionality.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 17:16:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/how-to-trigger-event-from-add-in-at-regular-time-intervals-every/m-p/10975770#M6505</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2022-02-28T17:16:58Z</dc:date>
    </item>
  </channel>
</rss>

