Issues Loading My Autodesk Inventor 2021 Plugin - Need Help!

Issues Loading My Autodesk Inventor 2021 Plugin - Need Help!

vishnu_gaddime
Explorer Explorer
289 Views
2 Replies
Message 1 of 3

Issues Loading My Autodesk Inventor 2021 Plugin - Need Help!

vishnu_gaddime
Explorer
Explorer

Hi there,

 

I'm currently working on creating a plugin for Autodesk Inventor 2021 using C# and Visual Studio 2019, and I've run into a couple of issues while trying to load my add-in. I'm hoping the Inventor community can help me troubleshoot and get my add-in up and running successfully.

 

**Problem 1: Loading the Add-in File**

First, let me provide some context. I have created my add-in file, and I've been attempting to place it in various directories to get it to load properly. I have tried adding the .addin file to both `Roaming/Autodesk/ApplicationPlugins` and `Roaming/Autodesk/Inventor 2021/Addins`, but so far, I haven't had any luck getting my plugin to load.

 

Recently, I also added my .addin file to `C:\ProgramData\Autodesk\Inventor 2021\Addins`. Interestingly, my add-in files are visible in the Add-In Manager. However, I still encounter the issue of the add-in staying "Unloaded" after clicking "Load" in the manager.

 

**Problem 2: Add-in Staying Unloaded**

This brings me to the second problem. Even after I manage to load my add-in using the Add-In Manager, it keeps showing as "Unloaded" if I reopen the Add-In Manager. I've tried various approaches, but I can't seem to figure out why it won't stay loaded after I click "Load" in the manager.

 

Have others encountered this issue while dealing with Autodesk Inventor 2021 add-ins, particularly when placing the .addin file in `C:\ProgramData\Autodesk\Inventor 2021\Addins`? If you have, could you kindly share the steps you took to resolve it? Additionally, I'd appreciate guidance on adding the .addin file to either `Roaming/Autodesk/Inventor 2021/Addins` or `Roaming/Autodesk/ApplicationPlugins` and successfully loading it in Inventor. Your insights and suggestions are greatly sought after.

 

I would be extremely grateful for any help or advice to address these issues and make my add-in work seamlessly with Autodesk Inventor 2021. If you have any tips, recommendations, or solutions, please feel free to chime in and share your knowledge. Your assistance will make a big difference in helping me get past these obstacles.

 

Thank you in advance for your support.

---

290 Views
2 Replies
Replies (2)
Message 2 of 3

MegaLutt
Observer
Observer

I have almost the same problem now, but it seems i can give an advice to yours:

1) Check your Client and Class ID's, i think they should not be same;

2) Check if your Assembly is COM-visible (it can be done via debug configuration or whatever).

0 Likes
Message 3 of 3

MegaLutt
Observer
Observer
Worked for me:
1) If you have no visual studio installed, install .Net Framework v4.5.1 and use it in your project (i used core net7.0, that was an issue).
2) Put your .addin file in
a) C:\Users\****\AppData\Roaming\Autodesk\Inventor 2023\Addins

AND

b) C:\ProgramData\Autodesk\Inventor 2023\Addins
3) be sure your .addin file have direct way to your .dll in <Assembly></Assembly> part!
0 Likes