Forcing feedback within python scripts?


#1

Hi,
I’m working on a script in RhinoPython on OSX which is generating a bit of a particle system. It is working fine but takes quite some time to execute.
During the execution time, there is no feedback from Rhino telling me how it is going. Just OSX’s beachball and a ‘Application is not responding’ message in the Activity Monitor.
I’ve included some Print statements with updates but those don’t appear in the history panel until after the script has finished executing.
This is not really a bit deal, but if anyone has any ideas I’d be interested…
cheers PH

(ps: I am taking the time to write this while I wait for it to finish executing again…)


#2

You might try inserting Rhino.RhinoApp.Wait() at the spots where you want it to report…

See this thread

–Mitch


#3

Thanks Mitch,

I’ll give that a try.

cheers Peter