Script caching issue?

Script caching issue?

Anonymous
Not applicable
317 Views
1 Reply
Message 1 of 2

Script caching issue?

Anonymous
Not applicable

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

0 Likes
318 Views
1 Reply
Reply (1)
Message 2 of 2

ekinsb
Alumni
Alumni

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
0 Likes