Hi, I’ve just started writing my first plug-in for rhino made a couple of commands to batch render shadow diagrams by moving the sun around. Im using the following inside a loop to do so:
Rhino.RhinoApp.RunScript("_-Render", true); Rhino.RhinoApp.RunScript("_-SaveRenderWindowAs \n\"" + savedLocation + "\"\n", false); Rhino.RhinoApp.RunScript("_-CloseRenderWindow", false);
The commands works fine but it each time a render is completed, a new render window is created and takes topmost window on my computer making it difficult for me to do anything else on while the command is running. Is there a way to hide or stop the window from taking focus?