Inventor Customization

Inventor Customization

Reply
Contributor
17 Posts
0 Kudos
Registered: ‎04-24-2012
Post 1 of 4

access and export parameters directly from Inventor using API's

429 Views, 3 Replies
04-24-2012 02:19 PM

Hi,

I'm new to the forum, so excuse me if i don't post this in the right place !

 

I'm actually using inventor 2012 and microsoft visual basic 2010 express, and i need to create some code so i can access and export all the information from the parameters list (values, names, tolerances... everything!) from a part i designed.

 

My programming experience and knowledge is not so good, so i could use some help with this...

 

 

can anybody help me?

 

any questions or doubts, i'm here!

 

thanks

Valued Contributor
91 Posts
126 Kudos
Registered: ‎11-12-2007
Post 2 of 4

Re: access and export parameters directly from Inventor using API's

04-25-2012 01:51 AM in reply to: joao.av.c

This is a macro that i've wrote a while ago, it exports all parameters to excel

be shure that the reference to excel object library is marked in inventor vba

 

http://www.inventorwizard.be/tools/macro/export_parameters_to_excel.txt

Contributor
17 Posts
0 Kudos
Registered: ‎04-24-2012
Post 3 of 4

Re: access and export parameters directly from Inventor using API's

04-25-2012 11:35 AM in reply to: Frederic007

thank you frederic !

 

so, just to be clear:

- i just have to create a new macro and insert the code you gave me, then save it and open it in inventor?

- where do i mark in inventor vba the reference to excel object library ?

- does this macro also exports tolerance information and parameter names ?

 

 

thank you for your help 

Contributor
17 Posts
0 Kudos
Registered: ‎04-24-2012
Post 4 of 4

Re: access and export parameters directly from Inventor using API's

04-25-2012 11:59 AM in reply to: joao.av.c

i just figured it out how to work with it , thank you!

 

but there is a problem, this macro does not export tolerance information... and that is one of my most important goals!

 

is there anyway to get that information, or in inventor is not possible to do it ?

 

thaks again :smileywink:

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!