-
Running script in background while working with rhino
Hello
Is it possible to run script in background while working with rhino and lets say each second give the value of script result to the user? For example when working with a surface by moving control points script calculates the area and puts the result in one second interval in side bar? Or manages a curve shape using the calculated values?
Best regards
Mike
-
Super Moderator
You can put a pause in a script by calling up something like a message box (say inside a loop) that the user has to click OK to continue. It could also ask the user to input something that would be used when the script continues. You can also stop the script using rs.Sleep() with a value in milliseconds, which will pause for the allotted time then continue automatically. But there are some limitations, you will not normally be able to interact with the interface (pan, zoom) while the script is paused.
--Mitch
-
Thank you for your reply.
Unfortunately this won't do the job. It would be neccesary to have full interface available.
Maybe there is a method to run a script once in a second (not in a continous manner) between user inputs?
-
Tools > options... > Idle Processor
or why not using GH
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules