<?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 Is there an ApplicationClosed Event for Revit C#? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8280965#M47446</link>
    <description>&lt;P&gt;Just like there is a&amp;nbsp;ApplicationInitialized Event to register when Revit was open, is there an ApplicationClosed Event to register when it has been closed?&lt;/P&gt;&lt;P&gt;If there isn't one, where should I look for to learn how to create it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there is an ApplicationClosing Event, however, I would like to register only when Revit has been successfully closed (&lt;A href="http://www.revitapidocs.com/2015/61068521-c216-3ab5-9d6e-28006fcfe0ae.htm" target="_blank"&gt;http://www.revitapidocs.com/2015/61068521-c216-3ab5-9d6e-28006fcfe0ae.htm&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appretiated&lt;/P&gt;</description>
    <pubDate>Thu, 20 Sep 2018 10:44:35 GMT</pubDate>
    <dc:creator>rita.aguiar</dc:creator>
    <dc:date>2018-09-20T10:44:35Z</dc:date>
    <item>
      <title>Is there an ApplicationClosed Event for Revit C#?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8280965#M47446</link>
      <description>&lt;P&gt;Just like there is a&amp;nbsp;ApplicationInitialized Event to register when Revit was open, is there an ApplicationClosed Event to register when it has been closed?&lt;/P&gt;&lt;P&gt;If there isn't one, where should I look for to learn how to create it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there is an ApplicationClosing Event, however, I would like to register only when Revit has been successfully closed (&lt;A href="http://www.revitapidocs.com/2015/61068521-c216-3ab5-9d6e-28006fcfe0ae.htm" target="_blank"&gt;http://www.revitapidocs.com/2015/61068521-c216-3ab5-9d6e-28006fcfe0ae.htm&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appretiated&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 10:44:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8280965#M47446</guid>
      <dc:creator>rita.aguiar</dc:creator>
      <dc:date>2018-09-20T10:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an ApplicationClosed Event for Revit C#?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8280973#M47447</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What about UIControlledApplication.ApplicationClosing&amp;nbsp;event or&amp;nbsp;IExternalApplication.OnShutdown?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 10:44:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8280973#M47447</guid>
      <dc:creator>aignatovich</dc:creator>
      <dc:date>2018-09-20T10:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an ApplicationClosed Event for Revit C#?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8280976#M47448</link>
      <description>&lt;P&gt;Thank you, I completely forgot I could use&amp;nbsp;&lt;SPAN&gt;IExternalApplication.OnShutdown !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 10:45:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8280976#M47448</guid>
      <dc:creator>rita.aguiar</dc:creator>
      <dc:date>2018-09-20T10:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an ApplicationClosed Event for Revit C#?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8280999#M47449</link>
      <description>&lt;P&gt;On a side note, is IExternalApplication.OnShutdown to register when the plugin I created has been closed/disabled? Or when the Revit application has been closed?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 10:56:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8280999#M47449</guid>
      <dc:creator>rita.aguiar</dc:creator>
      <dc:date>2018-09-20T10:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an ApplicationClosed Event for Revit C#?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8281017#M47450</link>
      <description>&lt;P&gt;According to documentation on&amp;nbsp;IExternalApplication.OnShutdown method:&lt;/P&gt;&lt;P&gt;"Implement this method to execute some tasks when Autodesk Revit shuts down".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It won't be&amp;nbsp;invoked if Revit crashes, only just before normal Revit shutdown/&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 11:00:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-an-applicationclosed-event-for-revit-c/m-p/8281017#M47450</guid>
      <dc:creator>aignatovich</dc:creator>
      <dc:date>2018-09-20T11:00:56Z</dc:date>
    </item>
  </channel>
</rss>

