Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Control Autodesk Inventor batch mode using MATLAB

mirhan.ozdemir39YZT
Participant

Control Autodesk Inventor batch mode using MATLAB

mirhan.ozdemir39YZT
Participant
Participant

Hi everyone,

I have created a parametric design in Autodesk Inventor and linked it to an Excel sheet. When I update the Excel sheet, I can easily update my geometry. However, I want to automate this process in batch mode and export the structures in STL format.

Here's what I want to achieve:

  1. Select geometric values.
  2. Create the geometry based on these values.
  3. Export the geometry in STL format.
  4. Repeat the process in a loop, controlled by MATLAB.

I would like to control Inventor's batch mode using MATLAB. Is there a way to do this?

Thanks in advance!

0 Likes
Reply
337 Views
4 Replies
Replies (4)

johnsonshiue
Community Manager
Community Manager

Hi! I am not sure how to automate Inventor tasks in MATLAB. But you may use Inventor iLogic to automate the task. It should be fairly straight forward.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

mirhan.ozdemir39YZT
Participant
Participant

Dear @johnsonshiue 

 

Thanks a lot for your response. I am curious about is there a way of linking it with matlab and automate the process generating and exporting the model?

 

Kind regards,

0 Likes

swalton
Mentor
Mentor

I am not aware of an Autodesk-provided link between MATLAB and Inventor.

 

I expect you will have to develop your own system.  The folks on the Inventor Programming forum may have some useful suggestions.  https://forums.autodesk.com/t5/inventor-programming-ilogic/bd-p/120

 

This post suggests that it is possible to use VBscript to start Inventor: https://forums.autodesk.com/t5/inventor-programming-ilogic/running-inventor-from-a-command-line-load...

 

Perhaps it would be possible to build an Inventor model with all the needed parameters, add some iLogic to read those values from a file, then use Matlab to update the file.  Add some VB or Powershell scripting to run Matlab and Inventor together? The Programming forum folks should know more than me.

 

Autodesk Platform Services might be helpful cloud-based solution: https://aps.autodesk.com/en/docs/design-automation/v3/developers_guide/overview/

 

 

 

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
0 Likes

Frederick_Law
Mentor
Mentor

You could try addin.

You'll need to connect IV and MatLab with it.

You'll need MatLad API and library.

I had addin to read Access Database and write to IV iproperties.

0 Likes