Forum: Poser Python Scripting


Subject: Python can set a render-engine and render, but can it also call a preset?

HartyBart opened this issue on Dec 05, 2020 ยท 23 posts


HartyBart posted Tue, 08 December 2020 at 10:36 PM

Thanks ADP.

After looking at some examples, I see that Popen is not needed to run a BAT. I bodged the following simple working Python script, to call and run a BAT file via Poser 11 Pro. Useful for reference re: future readers of this thread, though I recognise that it would be better and more cross-platform to do complex folder/file renaming in the Python code itself.

working.jpg

Note the double backslashes need on the file path.



Learn the Secrets of Poser 11 and Line-art Filters.