Syrus_BD opened this issue on Mar 27, 2012 · 53 posts
bagginsbill posted Tue, 17 April 2012 at 10:44 AM
There is a dialog script in Poser that is an alternative to the built-in render settings dialog. Many of us use this script because it exposes some things that are otherwise hidden or automated in ways we don't want.
It's in Scripts/Partners/Dimension3D/Render Firefly.py (I think - I don't have Poser with me)
I point you to this script not because it does what you want, but because it demonstrates how to set every single thing in render settings via Python, including dimensions.
There is a PDF included with Poser that is the Poser Python reference manual. It describes the API that Poser adds to standard Python to allow you to do Poser-specific things in Poser Python.
Python is a standalone language and you can run scripts from the generic Python interpreter but it will not have any access to Poser-specific things, like render settings. You have to run Poser python scripts inside Poser for it to be able to do things like alter scenes in real time.
It is possible using standard Python to read and write Poser files, without being inside the Poser Python engine, but this is a pretty extensive bit of work to take on. For example, my matmatic script can be run in standard Python because it doesn't actually talk to the Poser API - it just reads and writes files. Specifically, it constructs material files which can then be loaded into Poser. But the act of creating these files is all done with code I wrote for generic Python.
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)