Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automate the process of creating geometry with a batch scritp

Message 1 of 3
121 Views, 2 Replies

Automate the process of creating geometry with a batch scritp

Hi everyone, I have implemented a code that allows to create a set of geometry. I want to run this code in Fusion with a batch script. I able tu run Fusion 360 but then when I try to execute the Python scritp I get the an error that says "ModuleNotFoundError". In particular it can't find adsk module. The executable that I use is the python.exe of Fusion360.

When I run the code from Fusion360 without the batch script everything work. 

Is there a way to solve this problem?

Message 2 of 3

Hi @ione_ianniruberto ,


The only way to run scripts that uses Fusion 360's API, is from Fusion itself.

There is no way you can make it to run from outside, even if you use Fusion 360's python executable.


The solution is to run from Fusion 360.


I hope this could help.


Jorge Jaramillo


Message 3 of 3

Thanks for your time!

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

Post to forums  

Autodesk DevCon in Munich May 28-29th

Autodesk Design & Make Report