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: BrianEkins

Hi Brian,

Embed is set to false. I've literally just managed to get it working again by adding an InventorApplication.UserInterfaceManager.DoEvents() while loop just after the interaction event is triggered, and is stopped by the object selected event trigger.

 

I've stepped through last years code and it runs fine without going into the DoEvents loop which seems totally bizarre (but then I'm fixing someone's code with no prior visual studio, .net or Inv API experience, I've not got a clue as to what should and shouldn't happen)

 

The setting for copy local for Autodesk.Inventor.Interop is also set to false in my solution.

 

Thanks and Regards

Phil