Forum: Poser - OFFICIAL


Subject: Need help creating a Poser python script

MeshWorks opened this issue on Jan 12, 2019 ยท 3 posts


bagginsbill posted Wed, 16 January 2019 at 6:54 AM

You will need to make two files - a .pz2 file and a .py file. They should be in the same folder.

I used the name KrownProducts.pz2 and KrownProducts.py - you can, of course, use any names you like but you'll need to pay attention to where the name of the .py file is used inside the .pz2 file and synchronize them.

In your .pz2 file, put this:

{
    version
    {
        number 6
    }
    runPythonScript "KrownProducts.py"
}

In your .py file, put this:

import webbrowser

url = "http://www.krown-products.net/meshworks/Products/Manuals/KPL-CobraMotorhome.html"
webbrowser.open(url)

Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)