Starting up Autodesk using API

Starting up Autodesk using API

Anonymous
Not applicable
717 Views
2 Replies
Message 1 of 3

Starting up Autodesk using API

Anonymous
Not applicable

Hi, 

 

I'm new to Python programming and engaging with API. Can somebody please tell me if and how I can start up the Autodesk Fusion 360 using just a Python script and Fusion 360 API?

 

Regards,

SRS

0 Likes
718 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor

The API is designed to only be used from within a running instance of Fusion 360. There are potential workarounds.  One could be to create an add-in. Add-ins are loaded automatically when Fusion starts up.  The add-in can check for the existence of a file and read instructions from the file and start doing whatever it's supposed to do.  An external program, written in Python or something else, can run the Fusion executable to start Fusion. The external program does not have access to the Fusion API.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 3

Anonymous
Not applicable

Hi, thank you so much for your reply! Is it possible to launch Autodesk Fusion using win32com.client.dynamic.Dispatch("FusionLauncher.exe")?

0 Likes