View Full Version : Selecting multiple UI Sliders?
ThE_SP 02-27-2004, 02:28 PM Hello Everyone,
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.
Cheers,
Shawn
|
|
svenip
02-29-2004, 02: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
ThE_SP
03-11-2004, 11:00 PM
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.
Thanks,
Shawn
macaroniKazoo
03-11-2004, 11:56 PM
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.
ThE_SP
03-20-2004, 04:38 PM
Awsome,
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.
I tried:
attrFieldSliderGrp -q -v stoopidSlider;
No luck...
Anyways, the MEL battle goes on :D
Cheers,
Shawn
CGTalk Moderation
01-17-2006, 01: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.