Dear Gentlemen,
I have wrote a procedure that use 3 arguments that are used inside the procedure itself to combine the flags.
global proc lockAndKey (string $operation, int $status, string $attr)
then i want to associate the procedure to a button but it looks like there is some problem passing the values for the arguments.
It should be something like
button -l "Translate" -w 130 -c lockAndKey lock 1 t lockTranslateB;
but I receive this error message refered to this line of code
// Error: line 47: Invalid object or value: 1 //
I also tried putting the values betweens roud brackets but i receive another error
button -l "Translate" -w 130 -c lockAndKey(lock 1 t) lockTranslateB;
// Error: Line 47.50: Invalid use of Maya object "lock". //
some of you has any cloue how can I make it work?
Thanks in advance
F
button -l "Translate" -w 130 -c lockAndKey lock 1 t lockTranslateB;
// Error: line 47: Invalid object or value: 1 //
button -l "Translate" -w 130 -c lockAndKey(lock 1 t) lockTranslateB;
// Error: Line 47.50: Invalid use of Maya object "lock". //
some of you has any cloue how can I make it work?