Record Macros

Record Macros

dsakpal
Contributor Contributor
4,430 Views
6 Replies
Message 1 of 7

Record Macros

dsakpal
Contributor
Contributor

Hello ladies & gentlemen's,

Please help me to know, how could I record macros in Autodesk Inventor. I'm using version 2020.

I would like to do assembly automation & for that reason I would like to record my each assembly step, but don't know, how to do it by recording macros?

Please guide me.

 

0 Likes
Accepted solutions (2)
4,431 Views
6 Replies
Replies (6)
Message 2 of 7

swalton
Mentor
Mentor
Accepted solution

I am not aware of a macro recording tool in Inventor.

 

The usual way to automate anything with Inventor is using iLogic coding or the Inventor API using VB.net. 

 

Take a look at this forum for help getting started. https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/bd-p/120

Steve Walton
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Inventor 2025
Vault Professional 2025
Message 3 of 7

A.Acheson
Mentor
Mentor
Accepted solution

Unfortuantely there is no macro recording.

 

If your using the ilogic environment,

  1. Go to the editor find your part/assembly in the editor
  2. Right click and select add/add and constrain etc. 

The code is automatically captured for the part/assembly your working with. repeat the same for constraints and or parameters. Obviously there is more to getting it to work in a meaningful way but it is very easy entry point for a beginner. If you have questions on the workflow post up an image of the editor along with the workflow you want and any code attempt you have done. Find the </> button and paste the code like below. 

Components.AddContentCenterPart("Hex Head Bolt-01","Fasteners:Bolts:Hex Head","Hex head bolt DIN 931  8.8 FZ","M16 x 70")

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
Message 4 of 7

dsakpal
Contributor
Contributor
Hello swalton,
thanks for the valuable feedback. I will try to fetch required information from the shared forum.

Thank you!!
0 Likes
Message 5 of 7

dsakpal
Contributor
Contributor
Hello A. Acheson,
thanks for your valuable feedback.
I will try to go with Inventor API.

Thank you!
0 Likes
Message 6 of 7

Frederick_Law
Mentor
Mentor

What kind of assembly "automation"?

There are iMate, iPart, iAssembly, Model State which don't require code to made part and assembly in different size and config.

Message 7 of 7

dsakpal
Contributor
Contributor
It's not about iAssembly... We are trying to assemble parts by means Inventor API using VB.net.
We want to assemble bare stem valve assembly with gear-box & handwheels by means of assembly automation. Here, we are integrating 'excel' with 'inventor tool', so that, Inventor API's could pull required information from the excel database.
0 Likes