Latest tutorial on Inventor 2011 addin with VB.NET 2010 Standard.

Latest tutorial on Inventor 2011 addin with VB.NET 2010 Standard.

Anonymous
Not applicable
1,094 Views
4 Replies
Message 1 of 5

Latest tutorial on Inventor 2011 addin with VB.NET 2010 Standard.

Anonymous
Not applicable

Hi, I'm Looking for an up to date tutorial on writing an Inventor 2011 addin with VB.NET 2010 Standard.

 

I installed the SDK and found the sample addins.

 

Unfortunately they are of an earlier version of VB.NET and do not cleanly upgrade.

When I build the sample GeneralTools it will not load under addin inside Inventor.

 

To date I have not been able to create any addins for inventor with VB.NET.

 

This is highly frustrating as VBA looks like it is on its way out.

 

Any help?

0 Likes
1,095 Views
4 Replies
Replies (4)
Message 2 of 5

YuhanZhang
Autodesk
Autodesk

The Inventor SDK in 2012 has the VS 2010 support for creating Inventor addin.

 

Is there any error when you build the GeneralTools with VS2010? Can you let me know your OS? I got it tested on my Win7 x86 machine, it works well.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 3 of 5

Anonymous
Not applicable

I am running Win7 x86, VS.NET 2010 and Inventor 11.  We haven't received 2012 yet.

 

No compile error occurs on General Tools after it is automatically upgraded to 2010.   After closing VS and Launching Inventor 2011.  I open the Addins Management Dialog.  General Tools shows as Load at startup but not loaded.  Nothing I do changes that.

 

Tried Custom Tool.  That loaded after startup so I thought I'd make a minor change to the project recompiile and see if it still loaded.

 

I made no direct code changes.  Just added a label control to the main dialog in the designer.  Immediately received  Red Error messages that complained about missing "WithEvents" for some of the textboxes.  I traced them down to the control defintions and added Withevents to the afflicted variables.  Eventually cleaned out the Errors.  Compiled. Now it does not load in Inventor either.

 

 

0 Likes
Message 4 of 5

YuhanZhang
Autodesk
Autodesk

Maybe you can try some other samples in DeveloperTools. And we will update the www.autodesk.com/inventorapi which will include the updated SDK installers,  which include the new InventorWizards that supports VS2010.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 5 of 5

Anonymous
Not applicable

Thank you,

 

I will do so.

 

BTW in my above post I meant inventor 2011 not 11.

0 Likes