Inventor Customization

Reply
Distinguished Contributor
naresh_kalyan
Posts: 151
Registered: ‎03-22-2006
Message 1 of 6 (225 Views)

simpleAddin

225 Views, 5 Replies
04-01-2013 11:42 PM

Greetings..

 

Hi everyone,

 I would like to create an addin in VS2010 & IN2012. How I could able to do this?

I have gone through the help and started with "simpleAddin". But, while building I could able to see the following error.

 

The same error for all Addins. Someone's help would be greatly appreciated.

 

Thanks in advance.

 

Error    1    The command "mt.exe -manifest "E:\Program Files\Autodesk\Inventor 2012\SDK\DeveloperTools\Samples\VB.NET\AddIns\SimpleAddIn\My Project\SimpleAddIn.manifest" -outputresource:"E:\Program Files\Autodesk\Inventor 2012\SDK\DeveloperTools\Samples\VB.NET\AddIns\SimpleAddIn\bin\SimpleAddIn.dll";#2
" exited with code 9009.    SimpleAddIn

ADN Support Specialist
xiaodong.liang
Posts: 1,263
Registered: ‎06-12-2011
Message 2 of 6 (191 Views)

Re: simpleAddin

04-12-2013 11:22 PM in reply to: naresh_kalyan

Hi,

 

Firstly, please take a look at the tutorial on registry-free addin

http://modthemachine.typepad.com/my_weblog/2012/02/migrate-net-add-ins-to-registry-free.html

 

As to the error you hit, it is just an error in the post-build script. in this case, that would mean the 'mt.exe' does not exist in the system path. you will need to search where the 'mt.exe' is on your machine and add the path to the system path. Of course, you can also use absolute path ,e.g.

"c:\...\mt.exe"   "....addin.manifest"  "....\addin.dll"

 



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Distinguished Contributor
naresh_kalyan
Posts: 151
Registered: ‎03-22-2006
Message 3 of 6 (179 Views)

Re: simpleAddin

04-16-2013 06:38 AM in reply to: naresh_kalyan

Thank you for your reply. I have gone through entire help. But, still I could not able to create a Valid .manifest file.

I could write the code and build successfully (Prior to this I used to work with Macros)

 

Could you please elaborate towards .manifest file

 

Thanks for your time.

 

Distinguished Contributor
naresh_kalyan
Posts: 151
Registered: ‎03-22-2006
Message 4 of 6 (168 Views)

Re: simpleAddin

04-18-2013 04:10 AM in reply to: naresh_kalyan

Hi Everyone...


I have followed the steps as mentioned below. But, still in vain.

 

created a Project by taking Autodesk Inventor Addin Template

created a solution

Created a "Testaddin.manifest" file in /Myproject/ folder

Added "Testaddin.manifest" into the solution

Created "Testaddin.addin" file in C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor 2012\Addins

Build the solution

 

-Build Succeeded-

 

Copied the Testaddin.dll from "\TestAddin\bin" to "\Inventor 2012\Bin"

Still I could not able to see "TestAdin" in Autodesk Inventor - Addins.

It seems that I'm almost nearer in creating Addin.

 

Anyone's help would be greatly appreciated.

 

Regards

NKalyan

 

 

ADN Support Specialist
xiaodong.liang
Posts: 1,263
Registered: ‎06-12-2011
Message 5 of 6 (149 Views)

Re: simpleAddin

04-26-2013 12:14 AM in reply to: naresh_kalyan

Hi naresh_kalyan,

 

this is a blog on the registry-free addin. You will know what is manifest file.

http://modthemachine.typepad.com/my_weblog/add-in-creation/



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

ADN Support Specialist
xiaodong.liang
Posts: 1,263
Registered: ‎06-12-2011
Message 6 of 6 (148 Views)

Re: simpleAddin

04-26-2013 12:16 AM in reply to: naresh_kalyan

Hi,

 

you seemed to forget to put the *.addin file to the specific folders which Inventor will look for the addins are to be loaded.

again, please take a look at the blog I mentioned above and followed the steps.



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube