<?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 How to calculate Revit Opened File Idle time in ..Net ? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9061852#M39469</link>
    <description>&lt;P&gt;How to calculate Revit Opened file idle time. I have already implemented time spent for open file and save information when application closed in a excel filee.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Unable to figure out how to claculate idle time for each opened file .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Wed, 02 Oct 2019 10:35:12 GMT</pubDate>
    <dc:creator>adiln</dc:creator>
    <dc:date>2019-10-02T10:35:12Z</dc:date>
    <item>
      <title>How to calculate Revit Opened File Idle time in ..Net ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9061852#M39469</link>
      <description>&lt;P&gt;How to calculate Revit Opened file idle time. I have already implemented time spent for open file and save information when application closed in a excel filee.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Unable to figure out how to claculate idle time for each opened file .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Oct 2019 10:35:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9061852#M39469</guid>
      <dc:creator>adiln</dc:creator>
      <dc:date>2019-10-02T10:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Revit Opened File Idle time in ..Net ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9062553#M39470</link>
      <description>&lt;P&gt;The Revit API does in fact provide an Idling event that might enable you to get what you need:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2020/e233027b-ba8c-0bd1-37b7-93a066efa5a3.htm" target="_blank"&gt;https://www.revitapidocs.com/2020/e233027b-ba8c-0bd1-37b7-93a066efa5a3.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has two modes. You can ask for the event handler to be called once only, when Revit enters the idling state, or continuously. Since no call-back is provided for exiting the idling state, you may need to implement continuous polling. That may have the disadvantage of degrading system performance. Alternatively, you may be able to determine when Revit exist the idle state from the journal file. You may even be able to determine both entry and exit into the idling state from the journal file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are many other discussions of the Idling event:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.28" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.28&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that for many uses, it has now been superseded by external events. It may just fit your needs, though.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking forward to hearing how you end up solving this task.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 15:16:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9062553#M39470</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-10-02T15:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Revit Opened File Idle time in ..Net ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9069768#M39471</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;Thanks for the feedback but issue is when added application Event Handler&amp;lt;IdlingEventArgs&amp;gt; for&amp;nbsp; &amp;nbsp;dle state time calculation, the event is continuously invoked every second.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should be triggered at times for Revit Idle state but is triggered continuously every second even if working on a file too. &amp;nbsp;It should be triggered at idle states scenarios only.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2019 18:16:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9069768#M39471</guid>
      <dc:creator>adiln</dc:creator>
      <dc:date>2019-10-06T18:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Revit Opened File Idle time in ..Net ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9069840#M39472</link>
      <description>&lt;P&gt;You can file a wish list item in the Revit Idea Station if you think a different behaviour would make more sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2019 19:56:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9069840#M39472</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-10-06T19:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Revit Opened File Idle time in ..Net ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9080664#M39473</link>
      <description>&lt;P&gt;Not sure if this is useful, but I was looking at using some of the ideas.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.codeproject.com/Articles/30345/Application-Idle" target="_blank" rel="noopener"&gt;https://www.codeproject.com/Articles/30345/Application-Idle&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 08:08:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9080664#M39473</guid>
      <dc:creator>Dale.Bartlett</dc:creator>
      <dc:date>2019-10-11T08:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Revit Opened File Idle time in ..Net ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9082693#M39474</link>
      <description>&lt;P&gt;Wow, that codeproject article looks really great! Thank you! Were you able to use it unmodified as is?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 09:54:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-calculate-revit-opened-file-idle-time-in-net/m-p/9082693#M39474</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-10-12T09:54:21Z</dc:date>
    </item>
  </channel>
</rss>

