Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Solved! Go to Solution.
Solved by NachitoMax. Go to Solution.
If you're using the templates that come with inventor, then it's a matter of making sure your paths are right in visual studio and hitting the build button.
That generates the dll and addin file.
The addin file is a text file that goes under c:\program data\autodesk\inventor 2013\addins (or something close to that path as it's from memory)
The addin file also has a line telling inventor where the dll you created resides, for example C:\MyAddins. Put your dll in that folder and on next run, Inventor will load the addin file see it's pointing to MyAddins and then load the dll file specified.
Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Hi
i found the wizard installer (which i apparently missed when i looked before lol). i tried to install it but it says that it cant find visual studio. i have visual studio express. Would you by chance be able to send the template file that gets installed so that i can use that?
Thanks
Nigel
Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Hi
i have the file extracted and i am using the same inventor addin. however, when i build my app as a class into a dll, nothing gets registered into the 'Addins' part of inventor as documentation and videos suggest. therefore, what could i be doing wrong?
This highlighted file
was NOT a part of my original Inventor project template. i copied it into my file but couldnt reference it as i got an error. Can anyone give me a bit of advice please?
Thanks
Nigel
Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Hi
the text inside the addin is as follows-
<Addin Type="Standard"> <!--Created for Autodesk Inventor Version 17.0--> <ClassId>{$guid1$}</ClassId> <ClientId>{$guid1$}</ClientId> <DisplayName>$safeprojectname$</DisplayName> <Description>$safeprojectname$</Description> <Assembly>$safeprojectname$.dll</Assembly> <LoadOnStartUp>1</LoadOnStartUp> <UserUnloadable>1</UserUnloadable> <Hidden>0</Hidden> <SupportedSoftwareVersionGreaterThan>16..</SupportedSoftwareVersionGreaterThan> <DataVersion>1</DataVersion> <UserInterfaceVersion>1</UserInterfaceVersion> </Addin>
what line do you refer to when you say this?-
QUOTE
The addin file also has a line telling inventor where the dll you created resides, for example C:\MyAddins. Put your dll in that folder and on next run, Inventor will load the addin file see it's pointing to MyAddins and then load the dll file specified.
Thanks
Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Hi
i have figured this out now 🙂
Thanks
Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.