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

Hi @Anonymous,

 

Try to add the following C# code after every update() API call.

 

 

Inventor.Application m_inventorApplication;
m_inventorApplication = (Inventor.Application)System.Runtime.InteropServices.Marshal.GetActiveObject("Inventor.Application");
m_inventorApplication.UserInterfaceManager.DoEvents();

The DoEvents() API call will allow the Inventor to complete its update and then back to the Inventor to proceed.

 

Please feel free to contact if there is any queries.

 

Thanks and regards,

 


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network