<?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 [API BUG] Application.documentActivated Event do not raise in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9018833#M13640</link>
    <description>&lt;P&gt;Application.documentActivat&lt;STRONG&gt;ed&lt;/STRONG&gt; Event does not raise when switching between Design and Drawing documents.&lt;BR /&gt;At the same time&amp;nbsp;Application.documentActivat&lt;STRONG&gt;ing &lt;/STRONG&gt;Event works fine.&lt;BR /&gt;&lt;BR /&gt;In attachment you can find a test script and a short video which describes the issue&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2019 12:10:47 GMT</pubDate>
    <dc:creator>akonovalenko</dc:creator>
    <dc:date>2019-09-11T12:10:47Z</dc:date>
    <item>
      <title>[API BUG] Application.documentActivated Event do not raise</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9018833#M13640</link>
      <description>&lt;P&gt;Application.documentActivat&lt;STRONG&gt;ed&lt;/STRONG&gt; Event does not raise when switching between Design and Drawing documents.&lt;BR /&gt;At the same time&amp;nbsp;Application.documentActivat&lt;STRONG&gt;ing &lt;/STRONG&gt;Event works fine.&lt;BR /&gt;&lt;BR /&gt;In attachment you can find a test script and a short video which describes the issue&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 12:10:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9018833#M13640</guid>
      <dc:creator>akonovalenko</dc:creator>
      <dc:date>2019-09-11T12:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: [API BUG] Application.documentActivated Event do not raise</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9019268#M13641</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you try to execute this sample program: &lt;A href="http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-a445a970-997b-11e5-b40a-3417ebd3d5be" target="_blank" rel="noopener"&gt;Application Event API Sample API Sample&lt;/A&gt; ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On my machine, the documentActivated event works perfectly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 14:46:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9019268#M13641</guid>
      <dc:creator>JeromeBriot</dc:creator>
      <dc:date>2019-09-11T14:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: [API BUG] Application.documentActivated Event do not raise</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9020750#M13642</link>
      <description>&lt;P&gt;Yes, I am. Maybe it is a platform-dependent issue? I am working on Windows 10 environment.&lt;BR /&gt;&lt;BR /&gt;And as you can see on&amp;nbsp;&lt;SPAN&gt;my screencast the&amp;nbsp;&lt;A href="http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-a445a970-997b-11e5-b40a-3417ebd3d5be" target="_blank" rel="noopener nofollow noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Application Event API Sample API Sample&lt;/A&gt;&amp;nbsp;script does not raise&amp;nbsp;&lt;STRONG&gt;documentActivated&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;documentDeactivated &lt;/STRONG&gt;events when I switch between&amp;nbsp;&lt;/SPAN&gt;Drawing and Modeling tabs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="iframe-container"&gt;&lt;IFRAME width="640" height="590" src="https://screencast.autodesk.com/Embed/Timeline/6e2cec74-ae51-473f-9d0f-d26602ab0073" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 06:03:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9020750#M13642</guid>
      <dc:creator>akonovalenko</dc:creator>
      <dc:date>2019-09-12T06:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: [API BUG] Application.documentActivated Event do not raise</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9649874#M13643</link>
      <description>&lt;P&gt;I see the exact same problem. I tried the API sample linked above.&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;* Drawing to Design or Design to Drawing: Only Activating and Deactivating events&lt;/P&gt;&lt;P&gt;* Design to Design: Activating, Activated, Deactivating and Deactivated events&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.0.8624&lt;BR /&gt;Active Plan: Fusion 360, Personal&lt;BR /&gt;Windows 10 (18362)&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 18:47:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9649874#M13643</guid>
      <dc:creator>thomasa88</dc:creator>
      <dc:date>2020-07-22T18:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: [API BUG] Application.documentActivated Event do not raise</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9650699#M13644</link>
      <description>&lt;P&gt;Note: This makes it very hard to hide/show a panel depending on the document type.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 06:27:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9650699#M13644</guid>
      <dc:creator>thomasa88</dc:creator>
      <dc:date>2020-07-23T06:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: [API BUG] Application.documentActivated Event do not raise</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9783283#M13645</link>
      <description>&lt;P&gt;Has there been any progress on this issue? I have multiple add-ins where I have had to hook on to e.g. CommandTerminated to work around this.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 18:03:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9783283#M13645</guid>
      <dc:creator>thomasa88</dc:creator>
      <dc:date>2020-10-04T18:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: [API BUG] Application.documentActivated Event do not raise</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9795448#M13646</link>
      <description>&lt;P&gt;Sorry for spamming. Here is how to work around it in the mean time, I think (likely making Fusion 360 a tiny bit more slow with each add-in doing this, as the UserInterface.commandTerminated handler will trigger on every select and small user action).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def command_terminated_handler(args: adsk.core.ApplicationCommandEventArgs):
    # PLM360OpenAttachmentCommand, CurrentlyOpenDocumentsCommand are workarounds for DocumentActivated with Drawings bug.
    if (args.commandId in ('PLM360OpenAttachmentCommand', 'CurrentlyOpenDocumentsCommand')):
        # document activated&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 14:50:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/9795448#M13646</guid>
      <dc:creator>thomasa88</dc:creator>
      <dc:date>2020-10-10T14:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: [API BUG] Application.documentActivated Event do not raise</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/10801462#M13647</link>
      <description>&lt;P&gt;I just created a drawing document and swapped just as done in the video it appears as though this is no longer a problem. cool.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 02:48:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-bug-application-documentactivated-event-do-not-raise/m-p/10801462#M13647</guid>
      <dc:creator>zxynine</dc:creator>
      <dc:date>2021-12-05T02:48:27Z</dc:date>
    </item>
  </channel>
</rss>

