Inventor 2013 addin won't load

Inventor 2013 addin won't load

Anonymous
Not applicable
1,166 Views
6 Replies
Message 1 of 7

Inventor 2013 addin won't load

Anonymous
Not applicable

Hi all,

 

I used the Inventor wizard to create a Visual Studio 2010 C++ Inventor 2013 addin project. It compiles fine. The issue is that after Inventor starts, although I do see my plugging appear in the list, when I check "load", and then close the window, and come back, it is still registered as unloaded. Unfortunately there is no error, or message to let me know what is going on. My assumption is that the addin did not get loaded properly.

 

Furthermore, when I set a break point in the "OnActivate" method, VS lets me know that, since the binary was not loaded, the BP will not get hit (predictably).

 

I experimented with a few things. By default the project is 32bit, and my version of Inventor 2013 is 64, so I setup a 64 bit config for the project, rebuilt, no luck. I also read on another forum that building for .NET 3.5 would solve the issue.... Did not help either. I was hoping someone had gone through something similar, and could point me toward how to fix this.

 

Here is my .addin file:

 

"

<?xml version="1.0" encoding="utf-8"?>
<Addin Type="Standard">
<!--Created for Autodesk Inventor Version 17.0-->
<ClassId>{BigHex#}</ClassId>
<ClientId>{OtherBigHex#}</ClientId>
<DisplayName>TestAddinAddInSerge</DisplayName>
<Description></Description>
<Assembly>C:\Users\serge\Desktop\TestAddin\TestAddin\Debug\TestAddin.dll</Assembly>
<LoadOnStartUp>0</LoadOnStartUp>
<UserUnloadable>1</UserUnloadable>
<Hidden>0</Hidden>
<SupportedSoftwareVersionGreaterThan>16..</SupportedSoftwareVersionGreaterThan>
<DataVersion>1</DataVersion>
<UserInterfaceVersion>1</UserInterfaceVersion>
</Addin>

"

 

Thank you.

-Serge

0 Likes
1,167 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
Hi,

Since no one seems to know what is going on, can anyone be kind enough to break down for me the steps they went through to get their C++ (VS2010) "hello world" plugin built and loaded in Inventor 2013?

Thank you for your help.
0 Likes
Message 3 of 7

Anonymous
Not applicable
Also, I forgot to mention, I have a student version of Inventor... Maybe that affects plugin interaction.
0 Likes
Message 4 of 7

xiaodong_liang
Autodesk Support
Autodesk Support

Hi,

 

I noticed you are using C++.  Could you take a look at the blog (12: Known issues ] if it is helpful?

 

http://adndevblog.typepad.com/manufacturing/2012/10/notes-for-migrating-c-add-in-to-registry-free.ht...

 

0 Likes
Message 5 of 7

Anonymous
Not applicable

Xiaodong,

 

Thank you for that suggestion, I will take a look.

 

-Serge

0 Likes
Message 6 of 7

Anonymous
Not applicable

That did not do it, I followed the steps, but the wizard had already set everything up properly, and that C++ addin still did not load. So I moved to a C# one and that one loaded fine... Same Visual Studio 2010, same Inventor SDK...

0 Likes
Message 7 of 7

xiaodong_liang
Autodesk Support
Autodesk Support

Sorry to hear this. It may be one more issue we never known. If C# is accepted to you, I'd recommend C# as well. 

0 Likes