Hi everybody. Ive got a real big problem with this sliders. Im really a newbe in this MEL stuff. I wanted to check out how I can create my own GUI with a slider, which should control the amount of spheres created in my scene. I did that section this way:
intSliderGrp -l "amount of balls" -f 1 -minValue 1
-maxValue 10 -v 1 BallSlider;
button -l "Create" -c "makeIt(BallSlider.value)"
createButton;
As you can see: I dont know how to read the value of the Slider and tranfer this to my procedure makeIT.
Please Help.Thx ![]()
Something like
makeIt(intSliderGrp -query -value BallSlider);
or
-command ("int $val = intSliderGrp -query -value BallSlider; makeIt($val);")
g-