Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
ekinsb
in reply to: DWhiteley

Hi Dave,

 

An OnIdle event has never been exposed through the Inventor API.  The true Windows OnIdle probably wouldn't be all that useful because it does mean that the Inventor message queue is empty so Inventor is idle but that can happen for a fraction of a second as the user is still working.

 

One possible solution is to check to see if the currently active command is the default command.  There's a propety on the Document that returns the name of the default command for that document type.  I think it's always the select command anyway.  This will tell you that the user is not currently in the middle of a command.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog