Inventor Customization

Inventor Customization

Reply
Active Member
7 Posts
0 Kudos
Registered: ‎07-11-2012
Post 1 of 13
Accepted Solution

Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

2204 Views, 12 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
362 Posts
61 Kudos
Registered: ‎04-14-2005
Post 2 of 13

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
362 Posts
61 Kudos
Registered: ‎04-14-2005
Post 3 of 13

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
7 Posts
0 Kudos
Registered: ‎07-11-2012
Post 4 of 13

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
5 Posts
2 Kudos
Registered: ‎05-26-2013
Post 5 of 13

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*
476 Posts
244 Kudos
Registered: ‎03-07-2006
Post 6 of 13

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
7 Posts
0 Kudos
Registered: ‎09-19-2013
Post 7 of 13

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
5 Posts
2 Kudos
Registered: ‎05-26-2013
Post 8 of 13

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
7 Posts
0 Kudos
Registered: ‎09-19-2013
Post 9 of 13

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
362 Posts
61 Kudos
Registered: ‎04-14-2005
Post 10 of 13

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 interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!