Mon, Feb 10, 3:27 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 10 10:34 am)



Subject: Script to highlight only non-zero dials.


ElZagna ( ) posted Fri, 16 November 2012 at 2:30 PM · edited Sun, 09 February 2025 at 11:31 PM

Is there a Python script that will highlight only the parameter dials that are non-zero. Alternatively the script could hide all the zero dials.

I know there are scripts that can hide and show dials but they require you to manually go through them all. I was hoping for something more automated.



OS: Windows 10 64-bit, Poser: 10


lowpoly ( ) posted Fri, 16 November 2012 at 3:41 PM

file_488592.jpg

The non-zero dials already have a dot next to them.

Did you need something bigger?



PhilC ( ) posted Fri, 16 November 2012 at 4:23 PM

What do you mean by highlight?


lowpoly ( ) posted Fri, 16 November 2012 at 4:35 PM

file_488594.jpg

you can go into ":runtime:ui:25000_Parameters.psd" and change color on entry 25020_parm_changed_indicator. (make a backup by copy first)

I changed this one to red for better visibilty



markschum ( ) posted Fri, 16 November 2012 at 4:56 PM

file_488595.txt

a script to hide or show the zeroed dials is fairly simple.

import string
scene = poser.Scene()
fig = scene.CurrentFigure()
actors = fig.Actors()
for actor in actors:
    if actor.IsBodyPart():
        parms = actor.Parameters()
        for parm in parms:
            if parm.IsMorphTarget():
                if parm.Value() == 0:
                    parm.Hidden(1)

 

change parm.Hidden to 0 to show the dial again.


ElZagna ( ) posted Fri, 16 November 2012 at 6:51 PM

file_488604.jpg

Those dots don't show up on my installation of Poser (P8). I found the file and made the changes as **lowpoly** suggested, but I still can't get and change dot to appear.



OS: Windows 10 64-bit, Poser: 10


ElZagna ( ) posted Fri, 16 November 2012 at 7:10 PM

In fact nothing I do to any of those psd files has any affect on the UI.



OS: Windows 10 64-bit, Poser: 10


lowpoly ( ) posted Fri, 16 November 2012 at 7:15 PM

Apparently it is a feature of the "Pro" versions.  I checked it in PP2010 and PP2012 and works as expected, but not in vanilla P8.



ElZagna ( ) posted Fri, 16 November 2012 at 10:48 PM

I just checked out the product comparisons, and it looks like that is a feature specific to the Pro versions.



OS: Windows 10 64-bit, Poser: 10


primorge ( ) posted Sat, 17 November 2012 at 2:48 AM

Yep, the pros get the dots.


primorge ( ) posted Sat, 17 November 2012 at 3:05 AM · edited Sat, 17 November 2012 at 3:08 AM

Oh BTW, the python script above does not work in Poser 8... not on a Mac, at least.

... yes, I dropped the .txt extension. Tried it both from the Scripts Menu and File: Run Python Script. Nada.


ElZagna ( ) posted Sat, 17 November 2012 at 10:02 AM

Thanks, primorge. I thought I was doing something wrong. The script seems to work fine, it's just that nothing gets hidden.



OS: Windows 10 64-bit, Poser: 10


mikegg ( ) posted Sat, 17 November 2012 at 10:16 AM

Lowpoly, could you be a little more specific on how to do this? I found the entry but wasn't sure what to add to change the color. Whats the exact way to change from gray to red.

 

Thanks,

 

Mike


ElZagna ( ) posted Sat, 17 November 2012 at 10:30 AM

Primogre & markschum - Change the last line to parm.SetHidden(1)



OS: Windows 10 64-bit, Poser: 10


lowpoly ( ) posted Sat, 17 November 2012 at 11:29 AM

file_488626.jpg

> Quote - Lowpoly, could you be a little more specific on how to do this? I found the entry but wasn't sure what to add to change the color. Whats the exact way to change from gray to red. > > Thanks, > > Mike

I used GIMP in this example, but you can use any 2D image program that will handle a .psd

I select a brush, make it 10 pixel wide and colored red.
Select the layer that has indicator and put drop of red where grey dot is

 



primorge ( ) posted Sat, 17 November 2012 at 1:26 PM

Thanks, ELZagna...  certainly a useful script, I'll test your suggestion.


ElZagna ( ) posted Sat, 17 November 2012 at 2:31 PM · edited Sat, 17 November 2012 at 2:31 PM

Also if you want to hide the Body parms then you can add a test for "value parameters":

...

if parm.IsMorphTarget() or parm.IsValueParameter():

...



OS: Windows 10 64-bit, Poser: 10


mikegg ( ) posted Sat, 17 November 2012 at 3:05 PM

OK, thanks. Really easier than I thought. I opened it in photoshop (duh) and there it was.

 

Mike


markschum ( ) posted Sat, 17 November 2012 at 3:06 PM

oops, my bad


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.