1 Answers
A:
This is because Inventor doesn't fully initialize the project context until:
Best Practice to Start Your AddIn Reliably
Use the Activate Method Properly
Ensure your add-in’s Activate method stores the Inventor.Application object correctly:
Public Sub Activate(ByVal addInSiteObject As ApplicationAddInSite, ByVal firstTime As Boolean) Implements ApplicationAddInServer.Activate
m_inventorApp = addInSiteObject.Application
End Sub
This guarantees you have access to the full Inventor API once the add-in is loaded.
Find the Best CAD Software
Explore all products with features, pricing, reviews and more
View All SoftwareHelp the community
Be the First to Answer these questions
Disclaimer
Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.
20,000+ Software Listed
Best
Price Guaranteed
Free Expert
Consultation
2M+
Happy Customers