Wed, Dec 4, 2:53 PM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Poserscript function CurrentFile() ?


gbn ( ) posted Sun, 03 August 2014 at 1:55 PM · edited Wed, 04 December 2024 at 5:35 AM

I'm missing this function.

For normal use, it isn't needed since Poser session always knows its context (scene).

I'm using pickle-files for long w/ the same basename as the related Poser-file (render application).

I'm tired of explicitly give the current Poser-file name by dialogue-function.

Is there a trick by callbacks or monitoring AppData or shall I place a feature request ?

TIA / Gunnar


Pret-a-3D ( ) posted Sun, 03 August 2014 at 2:32 PM

This is only available in Poser 10 SR2 and above:

poser.Scene().DocumentPath()

Cheers.

Paolo

https://www.preta3d.com
FB: https://www.facebook.com/RealityPlugIn
Tw: @preta3d
G+: https://plus.google.com/106625816153304163119
The Reality Gallery: https://reality-plug-in.deviantart.com


gbn ( ) posted Sun, 24 August 2014 at 12:32 PM

THX and check it: OK.

Needs to be updated in the PoserPython Ref Manual.

Not in REV May 13, 2013

-GBN-


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.