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


adp001 posted Tue, 08 December 2020 at 11:17 PM

I think fileoperations in Python are simple enough.

For strings used in file operations it may be useful to use strings like this:

filename = r"C:\another\folder\myfolder\file.bat" (note the "r" in front of the string).

But more better and more compatible (Poser is also available for Mac): Avoid the drive letter. and use "/" instead of "". Only windows uses this strange spelling with file- and pathnames.