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: 

Continuous Background Script

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
rowaZZQZG
431 Views, 2 Replies

Continuous Background Script

 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!

2 REPLIES 2
Message 2 of 3
marshaltu
in reply to: rowaZZQZG

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 360 Developer
Autodesk, Inc.

Message 3 of 3
rowaZZQZG
in reply to: marshaltu

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

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