Using the SimpleAddIn project/solution in the C++ samples for Inventor 2013 I've created SimpleAddIn.dll. I left all alone except for
The SimpleAddIn.Dll was created with no errors.
I added the .AddIn file in the appropriate place and copied the SimpleAddIn.Dll to the Bin directory of Inventor 2013.
In the add in manager I can see SimpleAddIn but it does not seem to load. If I double click it appears to load, but when I go exit the manager and go back it is unloaded again. The command "Draw Slot" does not appear in the Sketch ribbon.
However if I download from github a C# version of the same command I can load it and "Draw Slot" appears and works.
Where can I start looking for errors? Is there a log file of addin loads which might help me?
As I said I left it to compile as is, 32 bit, I'm running Windows 7 64 bit. Could that be the problem?
Solved! Go to Solution.
Solved by oransen. Go to Solution.
Just in case this is relevant, here is the .addin file
<?xml version="1.0" encoding="utf-8"?> <!-- Type attribute is same as Type registry key (Standard, Translator, Plugin (Server only) --> <Addin Type="Standard"> <ClassId>{963308E2-D850-466D-A1C5-503A2E171552}</ClassId> <ClientId>{963308E2-D850-466D-A1C5-503A2E171552}</ClientId> <!-- Both of the following fields should be translated. NO OTHER FIELDS SHOULD BE TRANSLATED! --> <DisplayName>SimpleAddIn</DisplayName> <Description>SimpleAddIn</Description> <Assembly>C:\Users\Owen\Documents\MyAutoDeskStuff\Sources\SimpleAddIn\Release\SimpleAddIn.dll</Assembly> <SupportedSoftwareVersionGreaterThan>16..</SupportedSoftwareVersionGreaterThan> <LoadOnStartUp>1</LoadOnStartUp> <Hidden>0</Hidden> </Addin>