View Full Version : Selecting multiple UI Sliders?
02-27-2004, 03:28 PM
Just putting together a UI for a rig. I'm noticing that you can't select multiple sliders and drag them all at the same time. Is there a way that this can be done? Maybe with checkboxs?
Any help or ideas would be greatly appreciated.
02-29-2004, 03:31 AM
u can always make a checkbox which will then grey out two of the three and set the slider change command to check for the box to, and if set set the values of the other two sliders to the one you left open
03-12-2004, 12:00 AM
Thanks for the response svenip,
Is there a way to query if a checkbox is clicked or not? I could use a radioButtonGrp. I have an idea in mind if I can query the status of a checkbox.
03-12-2004, 12:56 AM
every UI mel command is controlled in the same way. if you want to query ANYTHING about a control, just call its mel command, with the -q flag.
so to query the state of a checkbox, use this command:
checkBox -q -v checkBoxUIName;
so if you want to query the state of just about any flag (except the parent flag I think - but the parent flag is a creation only flag - its not an inherent attribute of the control) just stick it in the above command instead of the -v. so using:
checkBox -q -l checkBoxUIName;
returns the name of the label.
03-20-2004, 05:38 PM
Thanks again for the info, I'm not sure if the help documentation is incomplete, but is there also a way to query the value of a attFieldSliderGrp? I could not find anything that would help me find that value.
attrFieldSliderGrp -q -v stoopidSlider;
Anyways, the MEL battle goes on :D
01-17-2006, 02:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.