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

I'm not sure I understand the question. You should be able to hold on to the Application pointer and pass it between modules. I'm not sure how this would work with a public shared variable. Typically, you would use a public property on your Add-In object/main class and hold on to the Application as a private member on the class instance, but it should also work with a shared variable. Are you sure that the addInSiteObject has been set prior to the call to Export? In other words, is there a valid addInSitObject to get the Application from here?


Ruth Steed
Inventor Development Team
Autodesk, Inc.