Wed, Dec 4, 8:56 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 04 4:13 pm)



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


gbdevo ( ) posted Mon, 27 January 2003 at 3:17 AM · edited Wed, 04 December 2024 at 8:54 PM

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...


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.