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: 

Javascript Fusion 360 API in Visual Studio

1 REPLY 1
SOLVED
Reply
Message 1 of 2
richter
432 Views, 1 Reply

Javascript Fusion 360 API in Visual Studio

Hi guys,

is it possible to develop Javascript addins in Visual Studio with working Intellisense on Fusion API objects? Trying to configure it for some time, but with no success.

Thank you very much!

1 REPLY 1
Message 2 of 2
richter
in reply to: richter

Figured it out finally. Add references to the header of addin js file like this:

 

/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\core\application.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\core\dashboard.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\core\geometry.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\core\materials.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\core\userInterface.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\Fusion\bRep.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\Fusion\components.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\Fusion\construction.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\Fusion\features.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\Fusion\fusion.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\Fusion\meshBody.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\Fusion\meshData.js" />
/// <reference path="C:\Users\richt\AppData\Local\Autodesk\webdeploy\production\8761ad41e24127c30f608621af9f94797e223b67\JavaScript\adsk\Fusion\sketch.js" />

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