riseon
04-20-2011, 11:37 AM
Hello everybody,
it's the second day I use MEL in my whole life so be patient!
I'm creating a GUI for controlling a rigged character
I have 2 sliders, each one controlling an attribute.
I'd like to have a third slider controlling both attributes at the same time (or both sliders) possibly without using set driven key. Is that possible?
if it is how would you achieve it?
here's a part of what I have so far so you have an idea of what I'm talking about:
if (`window -exists myWindow`) { deleteUI -window myWindow; }
window -title "HARRY 1.0" -widthHeight 420 60 myWindow;
columnLayout;
attrFieldSliderGrp -label "L_emozioni" -min -25 -max 25 -at "left_struttura_palpebre.rx";
attrFieldSliderGrp -label "R_emozioni" -min -25 -max 25 -at "right_struttura_palpebre.rx";
button -label "RESET" -command "RESET";
showWindow myWindow;
Hope somebody can help me out!
Have a nice day
Fede
it's the second day I use MEL in my whole life so be patient!
I'm creating a GUI for controlling a rigged character
I have 2 sliders, each one controlling an attribute.
I'd like to have a third slider controlling both attributes at the same time (or both sliders) possibly without using set driven key. Is that possible?
if it is how would you achieve it?
here's a part of what I have so far so you have an idea of what I'm talking about:
if (`window -exists myWindow`) { deleteUI -window myWindow; }
window -title "HARRY 1.0" -widthHeight 420 60 myWindow;
columnLayout;
attrFieldSliderGrp -label "L_emozioni" -min -25 -max 25 -at "left_struttura_palpebre.rx";
attrFieldSliderGrp -label "R_emozioni" -min -25 -max 25 -at "right_struttura_palpebre.rx";
button -label "RESET" -command "RESET";
showWindow myWindow;
Hope somebody can help me out!
Have a nice day
Fede