idokalir
01-09-2003, 05:57 PM
Does anyone know how to retrieve the value of a floatSlider in the same floatSlider's dragCommand? I'm trying to access the value through the variable #1 (I saw this done on some website) and it's not working:
floatSlider -min -10 -max 30 -value 0 -dc "setAttr pinkyController #1";
...also tried accessing it through it's name but it always returns zero:
floatSlider -min -10 -max 30 -value 0 -dc "float $temp = `floatSlider -q -v \"pinky\"`; setAttr pinkyController $temp" "pinky";
???
thanks for any advice...
floatSlider -min -10 -max 30 -value 0 -dc "setAttr pinkyController #1";
...also tried accessing it through it's name but it always returns zero:
floatSlider -min -10 -max 30 -value 0 -dc "float $temp = `floatSlider -q -v \"pinky\"`; setAttr pinkyController $temp" "pinky";
???
thanks for any advice...
