- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, any who can help:
We are going to move onto Inventor 2016 from Inventor 2013. Before doing that, we have to ensure our addin work. I test some basic code on our platform: window 7 64 bit pro, Inventor 2016 pro, Visual studio 2010 pro.
I use InventorAddinTemplate of 2016 in the VS 2010 (VB.NET) and set up to create a DLL addin, using exact code as the template. Then I test run the code (in debug mode). The fundamental object "g_inventorApplication" fails to return most of values for its properties. As shown on attached screen shots in the Word file, any property from "ActiveAppearanceLibrary" to the end will reture "Unable to evaluate expression", including many basic properties such as "ActiveView", "Documents", etc. So my code followed will fail too!
I wonder whether it is duo to the .NET framework. Inventor 2016 utilizes .NET framework 4.5. But VS2010 only can target to framework 4. However, the compiled file from VS2010 should work in a 4.5 enviroment, because .NET framework is backward compatible. Correct me if I am wrong.
Also attached is the source code.
So, what happen? please help.
Thank you very much!
Limin
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit
Solved! Go to Solution.