Forum: Poser Python Scripting


Subject: Getting current document name by P7 / PoserPython

gbn opened this issue on Jan 12, 2007 ยท 4 posts


nruddock posted Fri, 12 January 2007 at 7:28 PM

Quote - Hi,
there are many methods like SaveDocument, NewDocument, etc.. But how can a get the name of the current open poser document (in example MyFile.pz3)?
TIA

You can't.

AFAIK, there are two simple workarounds :-

  1. Save the document with a known name.
    or
  2. Open a document with a known name.