Forum: Poser Python Scripting


Subject: Loading a PP2 file via PoserPython (Poser 6)

3dcheapskate opened this issue on May 05, 2012 · 11 posts


3dcheapskate posted Sun, 06 May 2012 at 12:57 AM

Okay, that works perfectly! I can now call this script in Poser 6 and it loads the prop, smartparents, and applies the hand pose all in one.

I was calling the original PropGoto script from a Pose file like this (complete contents of the pose file):

{
version
    {
    number 6
    }
}
{
version
    {
    number 6
    }
runPythonScript ":Runtime:Python:poserScripts:3DCheapskate:PropGoto.py"
}

I can change this pose file to call my new script and it works perfectly. Now the original 'PropGoto' was logically a pose, but the new version is logically a prop. So I thought "I'll just make that a .PP2 prop file (and move it to my Props folder). But when I double click on it in my Props library... nothing, no dialogues, no PoserPython window with error messages. It seems that the runPythonScript is being ignored.

Am I correct in thinking that this method of calling scripts ONLY works from Pose files (i.e. PP2)?


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).