It appears that Poser can easily memorize and restore several things using Python scripting commands. Such as lights, camera, figure etc. But not the user’s current render setting dimensions.
Here’s a demo of how to do that in a script. Working in both Poser 11 and Poser 12.
Copy and save as Store_and_Restore_Render_Size_Settings.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# Restore render settings. A demo Python script for Poser 11 and 12. # Save the user's current render size settings for their scene, # do something fab, then restore the user's render size settings. import poser # Tell Poser the script expects a scene to be loaded and present. scene = poser.Scene() # Tell Poser what x,y,z co-ordinates mean in this instance. x = 0.0 y = 0.0 z = 0.0 # Get the scene's current render size dimensions. size = poser.Scene().OutputRes(x,y) # Store that current render size as data in our two named variables. sceneHorX = size[0] sceneVerY = size[1] # Set a new render size for the scene, in pixels. scene.SetOutputRes(600,400) # Do a scene render at that size, with the current render engine. scene.Render() # Set the scene render size back to the stored original size. scene.SetOutputRes(sceneHorX,sceneVerY) |
A useful basis for making a script that does a quick 600 x 450px test render, without affecting your main render dimension settings.
You could probably tweak this to save/restore other settings within a scene.
Pingback: New for Poser / DAZ in July 2022 – MyClone Poser and Daz Studio blog