@samuelduchesne wrote:
The Rhino Plugin I'm developing calls up a python script using
system.Diagnostics.process()
. I'm catching standard outputs and writing them to the rhino command usingRhicoApp.WriteLine(event.Data)
. Everything worked fine until I decided to add a progress bar inside one of the script's iterative loops (it is a good feedback for users). Obviously, since I'm redirecting outputs withWriteLine()
, at each iteration, the progress bar's status gets printed on a new line, which is really not ideal!
What would be the best approach to call that script and have it's outputs printed as it would in the console?
Thanks!
P.S.: I'm calling the python script inside a packaged python interpreter that contains libraries needed for the script to work. This is for portability and distribution; I am not using the native python scripting tools of Rhino.
Posts: 3
Participants: 3