+ Reply to Thread
Results 1 to 4 of 4

Thread: Running script in background while working with rhino

  1. #1

    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

  2. #2
    Super Moderator Mitch's Avatar
    Join Date
    May 2010
    Location
    Switzerland
    Posts
    285
    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

  3. #3
    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?
    Best regards
    Mike

  4. #4
    Tools > options... > Idle Processor
    or why not using GH

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts