Forum: Poser Python Scripting


Subject: Name of the file PZ3

minuitdixhuit opened this issue on Dec 15, 2021 ยท 7 posts


structure posted Sat, 18 December 2021 at 9:06 AM Forum Coordinator

another way 

import poser
scene = poser.Scene()

def get_document(scene):
    return scene.DocumentPath() if not scene.DocumentPath() is None else "Untitled"

document=get_document(scene)

Locked Out