Fri, Nov 22, 1:26 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 Sep 18 2:50 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: Label and background color


semidieu ( ) posted Wed, 27 June 2007 at 8:21 AM · edited Tue, 05 November 2024 at 4:07 AM

Hi,

I was trying to create a label with a custom background color. Thanks to PoserWorks, I'm able to get the signed hex color. That's OK. But I can't set it to be the background color. Is it possible ? The value of the color is correct, because I was able to change the color of the text.

<Widget name="myLabel"  command="10201"  groupID="10"  widgetProcID="3"  widgetText="A text that is displayed"  isStringID="0"  textColor="-16777216"  textSize="12"  textAlign="0"  textFont="0"  textItalic="0"  textAntialiased="1"  preliteAction="0"  pinID="1"  pinTop="3"  pinLeft="1"  pinBottom="3"  pinRight="1"  left="370"  top="390"  bottom="410"  right="510" rect.left="370"  rect.top="390"  rect.right="510"  rect.bottom="410" color="-16777216"  fadeMax="0"  parentPin="1" />

I change the value of color to something like 37144 or even other values... Am I missing something ?


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.