Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Control Autodesk Inventor batch mode using MATLAB

4 REPLIES 4
Reply
Message 1 of 5
mirhan.ozdemir39YZT
158 Views, 4 Replies

Control Autodesk Inventor batch mode using MATLAB

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!

Labels (1)
4 REPLIES 4
Message 2 of 5

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
Message 3 of 5

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,

Message 4 of 5

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 2023
Vault Professional 2023
Message 5 of 5

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report