Forum: Poser - OFFICIAL


Subject: ! Poser/python Interface Methods ! (closewindow???)

gbdevo opened this issue on Jan 27, 2003 ยท 6 posts


gbdevo posted Mon, 27 January 2003 at 3:17 AM

Hi , I make some general script for batch rendering complex scenes ( voluminous scenes) , have no big problems with poser/python, but a little one , How to close the window after render in newwindow : # Rendering in new window : scene.RenderToNewWindow() //OK scene.Render() //OK But i cant close this creadted window ! Thanks much for any help on this subject!


TrekkieGrrrl posted Mon, 27 January 2003 at 4:39 AM

I thought you was supposed to save the render. I know next to nothing about Python so I don't know if you can make it "invent" a filename. But just close it without saving? I don't see why you would want that?

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



milamber42 posted Mon, 27 January 2003 at 7:15 AM

You can use the SaveImage method to save the image after it is rendered, but the window is still there after you render it. I could not find a way to close it. If you have not done so already, you might want to repeat this post in the "Poser Python Scripting" forum.


gbdevo posted Mon, 27 January 2003 at 10:47 AM

Hi ernyoka1 , saving an image is a thing , closing a window is an other thing ;o)))) . It seems there is no way to close that window from Poser/Python Library ...


ockham posted Mon, 27 January 2003 at 11:22 AM

In general: if you can do something by Poser menu commands, or by adjusting a parameter, then you can also do it in Poser Python. If you have to use an operating system command (like closing a window) or some other method outside the Poser menu, then Python won't be able to do it either. There are exceptions, but this case is not an exception....

My python page
My ShareCG freebies


gbdevo posted Mon, 27 January 2003 at 1:22 PM

Thanks much OckHam !, I'll see that...