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: 

Script caching issue?

1 REPLY 1
Reply
Message 1 of 2
wlists
170 Views, 1 Reply

Script caching issue?

Hi,

I am using Fusion 360 2.0.2317 and I am starting to experiment with scripting.

 

I have created a JS script, and it works fine, but it seems to cache and only ever runs the first version of the script. If I make any changes to the script they are not included.

This can be seen by the script not doing the new functionality, and when debugging, the old version of the script is shown.

 

Is this a bug? or is there some way to force it to check for a newer version of the script?

Thanks,

Wayne

1 REPLY 1
Message 2 of 2
ekinsb
in reply to: wlists

There is a bug in the WebKit browser which Apple has acknowledged but haven't fixed yet.  You can read more about it here.  However, we've implemented a workaround on the Fusion side for now that you can learn more about in the Fusion API help at the bottom of the "JavaScript Specific Issues" topic.

 

 


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

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