Inventor General Discussion

Inventor General Discussion

Reply
Member
purushottam2
Posts: 4
Registered: ‎11-22-2012
Message 1 of 6 (484 Views)
Accepted Solution

Need help to automate inventor

484 Views, 5 Replies
11-22-2012 09:53 PM

HI All,

 

I am new for the Autodesk, I have 5 year of experince in .net (C#) programming. I want to automate the autodesk inventor software. Basically my need is to automate design of Base Plate of a Pole.

 

My requirement is that, i will build an application that will read all the input from any .csv file and will call the inventor API and it will create the design and will save at hardrive.

 

First of all i want to know, Does Autodesk API provide such functionality to automate the whole process?

 

Thanks in Advance.

hi,

 

while in inventor Alt+F11

 

or

 

ribbon, manage tab, vba.

 

the application project will be visible in the API window. if you have a document open, the document project will also be visible in the API window.

 

the application project is targeted in inventor, tools, options, file tab, default vba project.

 

there is some helpful resources around. start in the inventor, customisation forums.

 

http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120

 

http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Check-out-the-self-paced-guide-My-First-Plug-in/td-p/3115642

 

ps- also a favorite and skilled person for anyone to search posts from is :

Brian Ekins, Autodesk Inventor API

 

 

 

 

*Expert Elite*
PaulMunford
Posts: 930
Registered: ‎11-13-2006
Message 2 of 6 (471 Views)

Re: Need help to automate inventor

11-23-2012 12:05 AM in reply to: purushottam2

You have lots of options here depending on what level of automation you require.

 

Inventor will read in fom an Excel spreadsheet nativly, so you can set this up maually and then use iLogic or VBA to save out the copies on the appropriate trigger.

 

iLogic itself has an API for accessing Excel spreadsheets, so you can automate the whole thing with iLogic if you need to.

http://inventortrenches.blogspot.co.uk/2011/04/using-excel-and-ilogic-to-retrieve-part.html

 

If you want to run this independatly of Inventor, you can use the API which accepts VBA, VB.net C and C#

http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1079044

 

If you want to run this via a web client look at Inventor Intent:

http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=18361292

http://wikihelp.autodesk.com/Inventor_ETO/enu/2013/Help/0148-Inventor148/0351-Autodesk351

CSO

The CAD Setter Out Blog @CadSetterOut

Inventor Surfacing | AutoCAD | CAD Standards

Please use the Mark Solutions! Accept as Solution or Give Kudos! Kudos functions - Thank you!
Member
purushottam2
Posts: 4
Registered: ‎11-22-2012
Message 3 of 6 (458 Views)

Re: Need help to automate inventor

11-23-2012 02:38 AM in reply to: PaulMunford
Thanks for your promptness :smileyhappy: I will build my own user interface on the .net framework that will read all the input parameters that required to inventor API. Can you let me know from where i can get some information about all the API. I am confused how to start. I have seen a sample api code that hide the component, in the API learning section. My objective to automate the whole design process. For example i will save all the inputs parameter in the CSV file, and my .net application will read the input and call the Inventor api then it will save the design. User's do not need to open the inventor, each step should be done by .net application via calling API. Thanks for your support....!!!!!!!!!!
*Expert Elite*
Mark_Wigan
Posts: 460
Registered: ‎03-07-2006
Message 4 of 6 (455 Views)

Re: Need help to automate inventor

11-23-2012 02:52 AM in reply to: purushottam2

You can access API supporting documentation from within inventors API window by firing the help on any function.

 

there is also a customisation forum under inventor discussions forums. There are lots of helpful people there as well.

 

 

 

best regards,
- Mark

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

PDSU 2015 Windows 8.1, 64bit.

Member
purushottam2
Posts: 4
Registered: ‎11-22-2012
Message 5 of 6 (450 Views)

Re: Need help to automate inventor

11-23-2012 03:00 AM in reply to: Mark_Wigan

Thanks for your reply..

 

Sorry i did not understand your line "You can access API supporting documentation from within inventors API window by firing the help on any function." Form where i can access Inventor API Window?

 

I am new to autodesk so may be i am annoying you...

*Expert Elite*
Mark_Wigan
Posts: 460
Registered: ‎03-07-2006
Message 6 of 6 (417 Views)

Re: Need help to automate inventor

11-24-2012 06:42 AM in reply to: purushottam2

hi,

 

while in inventor Alt+F11

 

or

 

ribbon, manage tab, vba.

 

the application project will be visible in the API window. if you have a document open, the document project will also be visible in the API window.

 

the application project is targeted in inventor, tools, options, file tab, default vba project.

 

there is some helpful resources around. start in the inventor, customisation forums.

 

http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120

 

http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Check-out-the-self-paced-guide-My-Firs...

 

ps- also a favorite and skilled person for anyone to search posts from is :

Brian Ekins, Autodesk Inventor API

 

 

 

 

best regards,
- Mark

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

PDSU 2015 Windows 8.1, 64bit.

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.