ApplicationEvent(s) to balance OnActivateDocument
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'd like to know what ApplicationEvents can balance OnActivateDocument - I need to tight MyWidget to the active Document (if any).
I thought there only one - OnDeactivateDocument but I'm getting unexpected results in the scenario like this:
1. Start Inventor.
2. Start EventWatcher (one of SDK DeveloperTools) and activate "OnActivateDocument" and "OnDeactivateDocument" check boxes.
3. Open Rear Exhaust - 2 Shoe.iam (component of Engine MKII from the Legacy Samples).
4. Accept "... Would you like to update the assembly now?" request.
5. Accept "... Open Factory?" request.
6. Accept another "... Would you like to update the assembly now?" request.
I then get SIX OnActivateDocument and only FOUR OnActivateDocument events logged in EventWatcher ... which leads me to Two Widgets.
What I'm missing?
PS: I'm using Inventor 2023.3
Please vote for Inventor-Idea Text Search within Option Names