Mon, Feb 10, 10:51 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2025 Feb 05 6:41 am)

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: DialogTextEntry


PhilC ( ) posted Mon, 24 October 2005 at 8:59 AM · edited Fri, 02 August 2024 at 6:32 AM

Could someone be kind enough to show a brief example of how the method "DialogTextEntry" is used. I'm reading the example syntax but am not sure what "parentDialog" is referring to.

Thanks,

philc_agatha_white_on_black.jpg


mkrueger ( ) posted Mon, 24 October 2005 at 12:47 PM · edited Mon, 24 October 2005 at 12:48 PM

Hi!

Just use:

dte = poser.DialogTextEntry(None, 'YourDialogText')

You show the dialog with

dte.Show()

and get the text with

text = dte.Text()
Hope that helps!

martin

Message edited on: 10/24/2005 12:48


PhilC ( ) posted Mon, 24 October 2005 at 5:48 PM

OK that works, thanks :)

Where is this documented?
I was looking everywhere for it.

philc_agatha_white_on_black.jpg


mkrueger ( ) posted Mon, 24 October 2005 at 6:37 PM

I don't think it's mentioned in the Poserpython pdf at all. I built myself a console to play around with the Python API in Poser itself, and since there were just the two methods available, it was quite easy to figure it out. As far as the parentDialog is concerned, I don't know what it is actually supposed to be (the Poser Application window?), but None seems to work fine. martin


nruddock ( ) posted Tue, 25 October 2005 at 3:24 AM

Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=2340089

The only Python documentation you can really trust, is what gets extracted from modules and classes themselves using documentaion.py Not everything is covered in the supplied script, but it's easy to add what isn't.


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.