Inventor Customization

Inventor Customization

Reply
Active Member
vladiksun
Posts: 7
Registered: ‎07-11-2012
Message 1 of 12 (2,061 Views)
Accepted Solution

Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

2061 Views, 11 Replies
09-26-2012 05:28 AM

Hello,

I am a novice in Inventor customization. I have already  MS visual c# and vb.net 2010 express editions installed on my computer. As you know 2010 express editions have to be installed as a separate software.

I decided to try new MS 2012 visual studio express edition the other day. 2012 version is very comfortable to use because it allows to make vb.net, c#, C++ projects. Actually I use c# as the main language to study and vb.net as the secondary. The problem is that Autodesk Inventor Wizard installation package (Inventor 2013) doesn't work with MS visual studio 2012 express edition, therefore there is no Inventor AddIn template in Visual studio project creation window.

Does anybody has any ideas how to install Autodesk Inventor Wizard from Autodesk SDK package over MS Visual studio 2012? Is there any manual approaches to do that and how it will work?

I recently was trying to do the same thing with Visual Studio 2012. Got it to extract the template an install.

 

Download the DeveloperTools msi. Extract the files using this method. http://superuser.com/questions/307678/how-to-extract-files-from-msi-package.

 

Copy the file VCSInventorAddInTemplate2013.zip to this location C:\Users\{USER NAME}\Documents\Visual Studio 2012\Templates\ProjectTemplates\Visual C#.

 

When you restart Visual Studio the template should be there. 

One more thing. Go to the properties of the project.

 

Change the command on the build events tab in the Post build events command line.

 

call "%VS100COMNTOOLS%vsvars32"
mt.exe -manifest "$(ProjectDir){Project Name}.X.manifest" -outputresource:"$(TargetPath)";#2

 

call "%VS110COMNTOOLS%vsvars32"
mt.exe -manifest "$(ProjectDir){Project Name}.X.manifest" -outputresource:"$(TargetPath)";#2

 

This is the line that copies the addin manifest.

Valued Mentor
rjay75
Posts: 362
Registered: ‎04-14-2005
Message 2 of 12 (2,011 Views)

Re: Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

10-02-2012 10:28 PM in reply to: vladiksun

I recently was trying to do the same thing with Visual Studio 2012. Got it to extract the template an install.

 

Download the DeveloperTools msi. Extract the files using this method. http://superuser.com/questions/307678/how-to-extract-files-from-msi-package.

 

Copy the file VCSInventorAddInTemplate2013.zip to this location C:\Users\{USER NAME}\Documents\Visual Studio 2012\Templates\ProjectTemplates\Visual C#.

 

When you restart Visual Studio the template should be there. 

Valued Mentor
rjay75
Posts: 362
Registered: ‎04-14-2005
Message 3 of 12 (2,009 Views)

Re: Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

10-02-2012 10:59 PM in reply to: vladiksun

One more thing. Go to the properties of the project.

 

Change the command on the build events tab in the Post build events command line.

 

call "%VS100COMNTOOLS%vsvars32"
mt.exe -manifest "$(ProjectDir){Project Name}.X.manifest" -outputresource:"$(TargetPath)";#2

 

call "%VS110COMNTOOLS%vsvars32"
mt.exe -manifest "$(ProjectDir){Project Name}.X.manifest" -outputresource:"$(TargetPath)";#2

 

This is the line that copies the addin manifest.

Active Member
vladiksun
Posts: 7
Registered: ‎07-11-2012
Message 4 of 12 (1,966 Views)

Re: Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

10-10-2012 06:41 AM in reply to: rjay75

Thank you so much for help Thomas!

Member
BlackBoxOrange
Posts: 4
Registered: ‎05-26-2013
Message 5 of 12 (1,436 Views)

Re: Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

05-26-2013 11:37 AM in reply to: vladiksun

Hello all

 

for everyones benefit, I have done just the steps above and am now sharing the content.

 

Enjoy

 

Pat

 

http://www.blackbox-orange.com/downloads/Inventor2013AddInForVisualStudio2012Templates.zip

*Expert Elite*
Mark_Wigan
Posts: 460
Registered: ‎03-07-2006
Message 6 of 12 (1,396 Views)

Re: Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

06-02-2013 09:49 PM in reply to: vladiksun

thanks!

best regards,
- Mark

(Kudo or Tag if Solved - it may help others)

PDSU 2015 Windows 8.1, 64bit.

Active Member
Dwhelm
Posts: 7
Registered: ‎09-19-2013
Message 7 of 12 (959 Views)

Re: Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

10-24-2013 07:48 AM in reply to: rjay75
How do you change the command if you are using Express? Thanks.
Member
BlackBoxOrange
Posts: 4
Registered: ‎05-26-2013
Message 8 of 12 (951 Views)

Re: Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

10-24-2013 09:00 AM in reply to: Dwhelm

I am not shure to understand the question.  It should work just fine with VS express.

 

What are you trying to achieve?

 

Pat

Active Member
Dwhelm
Posts: 7
Registered: ‎09-19-2013
Message 9 of 12 (946 Views)

Re: Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

10-24-2013 09:07 AM in reply to: BlackBoxOrange

Im trying to use VS 2012 express. As far as I can tell there is no way to access post build command lines. I have attached a pic of my compile tab of the properties page.

 

 

Valued Mentor
rjay75
Posts: 362
Registered: ‎04-14-2005
Message 10 of 12 (938 Views)

Re: Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

10-24-2013 10:29 AM in reply to: Dwhelm

After some searching it looks like that option may not be in the express version. What that command is doing is copying the Test2.X.manifest file to be in the same location as the compiled dll. If you manually copy that file to the dll location you should be fine.

 

Alternate

 

You can open the Test2.vbproj file (that may be what your projects file name is) in external text editor and modify the line

 

<PostBuildEvent>call "%25VS100COMNTOOLS%25vsvars32"
			mt.exe -manifest "$(ProjectDir)CratingAddIn.X.manifest" -outputresource:"$(TargetPath)";#2</PostBuildEvent>

 It may be towards the end of the file. Clost the project before changing the file.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!