I was following this tutorial and I couldn't make this script to work.
That's the script i'm typing
That is the error Maya gives me.
string $listofjoints = `listRelatives -type joint -ad`;
for($joint in $listofjoints)
setAttr ($joint + " .rotateOrder ") 4;
// Error: Line 5.39: Illegal operation "+" on data of type string. //
That's my first script in MEL so can anyone tell me what's wrong it?
Thanks in advance!