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: 

Not able to run Javascript script

1 REPLY 1
Reply
Message 1 of 2
brenor.brophy
536 Views, 1 Reply

Not able to run Javascript script

I understand that new Javascript scripts are no longer supported. But it appears that it is now impossible to run existing scripts.

The script is located in the correct folder (C:\Users\me\AppData\Roaming\Autodesk\Autodesk Fusion 360\API\Scripts)

When I try to run the script using File>Scripts & Add Ins>My Scripts+ it displays that folder, but no *.JS files are shown. It looks like it is filtering the file view just for C++ and Python files perhaps. So you can't select the *.JS file to run it.

I am trying to run this script to import points from a CSV file.

1 REPLY 1
Message 2 of 2
BrianEkins
in reply to: brenor.brophy

There was a change made quite a while ago to work around a permissions issue on Mac.  Instead of selecting the script file you want to run, (.js, .py, .dll, .dylib), you now select the folder that contains the file.  I just tried it with an old JS script that I had and it shows up in the Scripts and Add-Ins dialog with the JavaScript icon and it's running correctly.

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

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