Inventor Customization

Inventor Customization

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

simpleAddin

274 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,335
Registered: ‎06-12-2011
Message 2 of 6 (240 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: 157
Registered: ‎03-22-2006
Message 3 of 6 (228 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: 157
Registered: ‎03-22-2006
Message 4 of 6 (217 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,335
Registered: ‎06-12-2011
Message 5 of 6 (198 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,335
Registered: ‎06-12-2011
Message 6 of 6 (197 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.