Reply
Explorer
4 Posts

Palette API

38 Views, 1 Replies
4 weeks ago

The new Palette API looks great - being able to display HTML is a feature I've been waiting for! I was just wondering if the JS running in the palette has access to the Adsk API as well? Or can connect a Palette to script that's already running?

Highlighted
Autodesk Support
1259 Posts
353 Kudos
369 Solutions

Re: Palette API

4 weeks ago in reply to: carloYKHD2

Did you see the overview of the palette functionality in the API help?

http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-6C0C8148-98D0-4DBC-A4EC-D8E03A8A3B5B

 

You cannot use the Fusion API from the JavaScript associated with the html.  However you can communicate between the JavaScript and your add-in, so the JavaScript can pass information to the add-in and then the add-in can make API calls.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog