When I running scrip code .if Rhino window form appeared ,the script running slowly,but if I minimum the Rhino window form ,It will running very fast ,how can I solve this issue ?thanks!
If your script is changing things in the Rhino window, the screen will redraw at every change. This can slow scripts down substantially. If you don’t need to see the intermediate results, disable the screen redraw with Rhino.(vb) or rs.(python) EnableRedraw(False) somewhere near the top of the script (after user input); if you are running in vb Rhinoscript, you will need to re-enable it at the end with Rhino.EnableRedraw(True). Python scripts automatically re-enable redraw at the end of the script, so this last line is not necessary.
Thank you very much !!