Message 1 of 3
Inconsistent OnNewEditObjectEvent response on first document opened
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Inventor 2015 SP1.
When the first document is loaded after opening Inventor, the OnNewEditObjectEvent fires (kAfter) after the document is supposedly opened. If this document is a part or assembly document, my Inventor Application instance (ivApp) shows that ActiveDocument has been set to the newly opened document. If the first document is a drawing, ivApp.ActiveDocument (and ivApp.ActiveEditDocument) are both still null at this point. That seems a rather large inconsistency and makes it difficult to perform setup work on the first document opened in the Inventor session. I can work around it but this is something that should work the same way for all document types.
Neil