Can't load plugin in Inventor 2022

Can't load plugin in Inventor 2022

john4TMYX
Enthusiast Enthusiast
1,131 Views
10 Replies
Message 1 of 11

Can't load plugin in Inventor 2022

john4TMYX
Enthusiast
Enthusiast

 

Hi guys,

 

We have problems to load our plugin into Inventor 2022. Our plugin works with Inventor over 10 years. Now we find out that the Plugin doesn't appear in Inventor 2022. 

Our plugin is a COM plugin implemented with c++. After registering the COM object in the computer with the command regsvr32, the plugin should be appear in Addin Manager dialog box. The plugin shows in Inventor 2020, but it doesn't appear in Inventor 2022. Could anyone please tell us what we should change our plugin to let user load our plugin. 

 

Attached are two image files showing Addin Manager dialog box. You can see our plugin SUnfoldAddInServer is missing in Inventor 2022. 

 

Please help.

 

Regards

Eric

 

0 Likes
Accepted solutions (1)
1,132 Views
10 Replies
Replies (10)
Message 2 of 11

nmunro
Collaborator
Collaborator

If you haven't converted to a registry free add-in you should do so. Inventor 2022 placed further restrictions on the old methods of registering an add-in.

 

nmunro_0-1643564283987.png

 

        


https://c3mcad.com

0 Likes
Message 3 of 11

etaCAD
Advocate
Advocate

In Inventor 2022 registry based add-ins are not supported any more, but you can enable them again:

 

https://adndevblog.typepad.com/manufacturing/2021/04/retire-registry-based-add-ins-in-inventor-2022....

 

 

Andreas
etaCAD

Message 4 of 11

johnteng00
Advocate
Advocate

thank you very much. I will convert to the register-free addin. 

Message 5 of 11

nedeljko.sovljanski
Advocate
Advocate

Hi @john4TMYX 

As I can see your Addin is in

nedeljkosovljanski_0-1643663311783.png

Did you copy this dll in 2022 addin folder?

0 Likes
Message 6 of 11

john4TMYX
Enthusiast
Enthusiast

I don't think you need to copy to the bin\ dir as long as you have the addin file to specify the path, it should be ok. 

thank you for your response.

0 Likes
Message 7 of 11

nedeljko.sovljanski
Advocate
Advocate

This is folder for custom plugins

C:\Users\[your user name]\AppData\Roaming\Autodesk\ApplicationPlugins

in this folder you need to create folder that contains your .dll and .addin file types.

Do you have that structure?

0 Likes
Message 8 of 11

johnteng00
Advocate
Advocate

yes, I have. I have found the issues, my own mistake using the lib guid instead of the class guid. I have fixed the issue now, Now all works fine. 

 

thank you all for help.

0 Likes
Message 9 of 11

johnteng00
Advocate
Advocate

It is odd, I can't find the button to mark it as the resolution. odd. 

0 Likes
Message 10 of 11

nedeljko.sovljanski
Advocate
Advocate
Accepted solution

Hi @johnteng00 

I presume only @john4TMYX can accept solution.

0 Likes
Message 11 of 11

johnteng00
Advocate
Advocate

yes.

0 Likes