Pause script to allow user to interact with UI

Pause script to allow user to interact with UI

imajar
Advisor Advisor
538 Views
1 Reply
Message 1 of 2

Pause script to allow user to interact with UI

imajar
Advisor
Advisor

I suspect this is easy - but can't seem to figure it out.

 

How can I pause my script and allow the user to interact with the UI?  (Then probably have a continue button or similar to resume computations?)  (For me, I wish to inspect recently created objects without having to kill debugging - perhaps there is a better way?)

 

Thanks in advance!


Aaron Jarrett, PE
Inventor 2019 | i7-6700K 64GB NVidia M4000
LinkedIn

Life is Good.
0 Likes
Accepted solutions (1)
539 Views
1 Reply
Reply (1)
Message 2 of 2

goyals
Autodesk
Autodesk
Accepted solution

Fusion API are executed in UI thread so once a script is started, I do not think it is possible to pause the execution. I  think instead writing an add-in and defining custom event might solve what you are trying.



Shyam Goyal
Sr. Software Dev. Manager
0 Likes