How Python Integrates with Poser

There are two basic types of programming languages:

PoserPython consists of a standard Python interpreter that has been extended to recognize and execute commands that are not included with the standard Python language. You can, however, pass data back and forth between Poser and other Python scripts, programming languages, and applications.

The standard Poser application contains volumes of data about each item (figure, scene, light, camera, prop, etc.) found within a given scene. You control these parameters via the mouse and interface elements such as menus, buttons, dials, etc. However, you cannot directly manipulate the data itself. This helps make Poser easy to use, but does create limitations. For example, you have no way to automate repetitive tasks or record a complex series of actions for further use. PoserPython circumvents these limitations.

PoserPython exposes much of the raw Poser data. Using Python scripts, you can extract data from Poser, manipulate it, and pass it back into Poser. Essentially, you can program Poser to do what you want, and you are no longer confined to the Poser interface and Poser’s built-in functionality.

Python scripts are add-ons to Poser, and are supposed to be installed into the application installation folder (ex: C:\Program Files\Poser Software\Poser 13 for Windows, and Applications: Poser 13 for Macintosh systems.

PYC creation is disabled by default. To enable it, open the Poser.ini file and change ALLOW_PYTHON_PYC 0 to ALLOW_PYTHON_PYC 1.

© 2020-2023 Bondware, Inc. Last updated November 07, 2024