Forum: Poser Python Scripting


Subject: Python editor support: New version

adp001 opened this issue on Apr 18, 2020 ยท 29 posts


adp001 posted Sat, 18 April 2020 at 7:44 AM

http://adp.spdns.org

FakePoserLib3.zip

Includes a ready to go library for P11. Complete syntax from P11 should be covered now.

Use this at the top of your script:

try:
    import poser
except ImportError:
    import POSER_FAKE as poser

and your Python-Editor will be able to do syntax-checking and hinting (tested with PyCharm + VSC). PyCharm also shows the help from the doc strings (not tested with VSC).