Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

does anyone know how to run an inventor macro in excel?

Anonymous

does anyone know how to run an inventor macro in excel?

Anonymous
Not applicable

With solidworks I can write vba code in excel and when executing the macro, it does something in solidworks. Could you do the same with inventor?

Something like this:

 

 

another question
Does anyone know where I can find the official documentation for the api or ilogic?

0 Likes
Reply
325 Views
2 Replies
Replies (2)

WCrihfield
Mentor
Mentor

I, personally haven't tried running a Macro within Excel and have it effect Inventor, but it sounds doable, if you have the references set-up right, and get the Inventor Application object the right way.

As for your other question about official documentation...I think the following links are going to be along those lines:

Inventor API User's Manual 

iLogic API Overview 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes

A.Acheson
Mentor
Mentor

Here is how to set up excel VBA with the correct object.

https://forums.autodesk.com/t5/inventor-ilogic-api-vba-forum/open-inventor-part-with-the-help-of-exc...

 

You will have to figure out how not to start an inventor app each time if there is already one active. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes