Forum: Poser - OFFICIAL


Subject: A Compendium of PZ2 Techniques.

lesbentley opened this issue on Mar 31, 2008 · 137 posts


duanemoody posted Fri, 24 July 2015 at 6:37 PM

You can use a pose file to run a Python script:

{
    version
    {
        number 6
    }

    runPythonScript ":runtime:path🇹🇴script.py"
}

And you can combine this with all other pz2 tricks.

runPythonScriptEx apparently allows you to pass an argument to the script: runPythonScriptEx "runtime:path:to:script.py"myargument

where in the script, sys.argv[1] == 'myargument'