Levitateme
07-26-2003, 09:34 AM
im trying to make it so when i press a hotkey it would turn on mayas click drag, im only wanting to use this until the tweak for maya gets compiled for maya 5.
here is what i have so far.
if ( -clickDrag true)
selectPref -clickDrag false;
else
selectPref -clickDrag true;
but im only reading out of my maya mel books, i dont know why it isnt working. i was hoping someone could figure this out for me, but explain what im doing wrong, and what there doing to make it work. it would teach me alot.
btw i hope noone reads this and assumes im just saying do this for me, i would like to know what is wrong and what i need to do to fix. thanks.
here is what i have so far.
if ( -clickDrag true)
selectPref -clickDrag false;
else
selectPref -clickDrag true;
but im only reading out of my maya mel books, i dont know why it isnt working. i was hoping someone could figure this out for me, but explain what im doing wrong, and what there doing to make it work. it would teach me alot.
btw i hope noone reads this and assumes im just saying do this for me, i would like to know what is wrong and what i need to do to fix. thanks.
