Continuous Background Script

Anonymous

Continuous Background Script

Anonymous
Not applicable

 Hi, all.

 

I'm trying to create a script that runs continuously in the background occasionally performing operations that affect the editor. The issue that I keep running into is that it appears that the script runs on the same thread as the editor so when I run it I can't use the editor until the script is finished. This is a problem since my script runs for the duration that the editor is open and ideally should run alongside a user interacting with the graphical interface. Does anyone have any suggestions on how to achieve the functionality that I'm looking for? I haven't been able to find anything that helps, though perhaps I have been looking in the wrong places.

 

Thanks!

0 Likes
Reply
Accepted solutions (1)
639 Views
2 Replies
Replies (2)

marshaltu
Autodesk
Autodesk
Accepted solution

Hello,

 

Please take a look at the topic "Working in a separate thread". The "Custom Events" would work for you in the scenario.

 

http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-F9FD4A6D-C59F-4176-9003-CE04F7558CCC

 

Thanks,

Marshal



Marshal Tu
Fusion Developer
>
1 Like

Anonymous
Not applicable

Thank you, this is exactly what I was looking for!

0 Likes