fischerj
08-04-2006, 05:37 PM
I'm new to MEL and I'm working on doing some auto rigging scripts. I'm not able to add and attribute to the controls using the variables. I have got this to work on my leg rig script but now I can't get it to work for the arm. Here is the part of the script I'm having trouble with.
addAttr -ln ikFkSwitch -at double -min - 0 -max 1 -dv 0 $clavicleCtrl;
setAttr -e -keyable true ($clavicleCtrl +".ikFkSwitch");
Also, I added a prefix earlier in the script so maybe that has something to do with it? This seems like it should be simple, but I just can't get it to work. Any help would be great!
addAttr -ln ikFkSwitch -at double -min - 0 -max 1 -dv 0 $clavicleCtrl;
setAttr -e -keyable true ($clavicleCtrl +".ikFkSwitch");
Also, I added a prefix earlier in the script so maybe that has something to do with it? This seems like it should be simple, but I just can't get it to work. Any help would be great!
