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

I am putting a Thread.Sleep(36 seconds or more) in my c# code after any COM call to the following Inventor methods..

 

-  myAssembly.Save()

-  myAssembly.Close()

- InventorApp.Quit()

 

Actually, after eliminating this issue in Inventor 2016 (as I stated above), it was back in 2018. This is exactly what I ended up having to do in Inventor 2018 after struggling with it for an unreasonable amount of time. Not an elegant solution, but it works. The crash could never be duplicated when stepping through the code, so I concluded it had something to do with the timing of COM calls.