Community
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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Trigger API from outside

2 REPLIES 2
Reply
Message 1 of 3
infoSZ5ZG
711 Views, 2 Replies

Trigger API from outside

Hi,

 

is it possible to address the API from outside Fusion 360, like via the command line or an external python script?

 

Sorry for the newbie question!

 

D

2 REPLIES 2
Message 2 of 3
marshaltu
in reply to: infoSZ5ZG

Hello,

 

Unfortunately out-of-process API is supported yet. It means you cannot call the API directly outside Fusion 360 process.

 

Instead you can probably add an addin to Fusion 360 and let it talk to your app to receive/send data and then call into API by the addin. An example is like as below:

 

http://adndevblog.typepad.com/cloud_and_mobile/2016/03/practise-with-fusion-360-and-socketio-javascr...

 

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 3 of 3
Jellej
in reply to: infoSZ5ZG

Probably a litte late for you, but to all future readers: This might be of help. http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-8A2C4ECD-7D82-4E56-AFE8-4FA72464AE66

You can open (or insert) a file via an url, and write a script that triggers when files are opent via an URL. Read the paragraph "Private info" for further details. It made me achieve this goal.

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