Forum: Poser Python Scripting


Subject: How to fetch the full os.path of a CurrentFigure ?

HartyBart opened this issue on Dec 27, 2020 ยท 27 posts


HartyBart posted Sun, 31 January 2021 at 2:28 PM

Thanks, I've found POSER_FAKE .zip, and also its required code to add to the top of testing scripts...

try:
    import poser
except ImportError:
    import POSER_FAKE as poser

There's no information to be found on where the .zip contents should be copied to on the PC's hard-drive, in order to work with Visual Code Studio. But POSER_FAKE appears to work when both files are copied into...

..|AppData|Local|Programs|PythonPython37|Lib

and also

..|Python27|Lib

The user of Visual Code Studio then gets in-script tooltips suited to PoserPython, when using either Python 2.7 or 3.7, and can also choose to hold down Ctrl to see a bit more. Or for the full list can right-click on a bit of PoserPython code and get the Definition, along with adjacent other definitions.

Is there more that I'm missing, in terms of the POSER_FAKE functionality?



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