Sat, Feb 1, 7:39 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 01 6:51 am)



Subject: Foolish Python Question


cedarwolf ( ) posted Sun, 22 January 2006 at 12:11 PM ยท edited Sat, 01 February 2025 at 5:44 AM

Ok, I've got several wonderful Python scripts from our resident geniuses here that I want to add to my python window. Can I just cut and paste the code for another button in the script or is there some super=secret thing-a-ma-bob I need to put another few buttons in the python window? Idiot frienldy instructions are alwasy appreciated...especially by the idiot!


Angelouscuitry ( ) posted Sun, 22 January 2006 at 12:21 PM

In order to control wich pythons launch when you first open the Python Palette you need to edit your mainbuttons.py, located somewhere inyour Runtime>Pythons folder. If you look around here you'll find posts/tutorials on just how, it's actually really easy!


Dizzi ( ) posted Sun, 22 January 2006 at 1:10 PM

No idea, what exactly you want to do, but each of these lines

poser.DefineScriptButton(1,  ":Runtime:Python:PoserScripts:CreateProps:propButtons.py", "Prop Samples")

just redefines the content of one of the buttons. First Paramteter is the button number (1 to 10), the second parameter is which python script to call (this could also be a script that redefines all of the buttons, so you can create multiple button sets) and the last parameter is the text displayed on the button.



Acadia ( ) posted Sun, 22 January 2006 at 1:11 PM

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

Dimension3D explained how to make a subscript button so that you can add more than one script to the python window. Look for Post 26 in that thread.

"It is good to see ourselves as others see us. Try as we may, we are never
able to know ourselves fully as we are, especially the evil side of us.
This we can do only if we are not angry with our critics but will take in good
heart whatever they might have to say." - Ghandi



pakled ( ) posted Sun, 22 January 2006 at 1:58 PM

except maybe the cheese skit..;) hey, Python is not simple..go easy on yourself..

I wish I'd said that.. The Staircase Wit

anahl nathrak uth vas betude doth yel dyenvey..;)


cedarwolf ( ) posted Sun, 22 January 2006 at 7:07 PM

Can I get a Former Parrot in a Python Script? No, wait for it...already been done and I need something different...ok folks, I'll check the threads and see if the kilt unravels at that point.


pakled ( ) posted Sun, 22 January 2006 at 9:53 PM

the Parrot is no more, he has shuffled off his mortal coil!..;)

I wish I'd said that.. The Staircase Wit

anahl nathrak uth vas betude doth yel dyenvey..;)


cedarwolf ( ) posted Mon, 23 January 2006 at 9:37 AM

He is an Ex Parrot!


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.