Right now I study Online courses about rigging and they did use a MEL script that I thing chould be useful. But when I copy the exact MEL script over to the Script Editor in Maya (2014), I get an error.
Can some kind soul help me with this error? What did I do wrong? I double and triple checked the script they use in the Online Coures, and I can't for my life find any difference.
Thanks in advance.
The script:
Code:
//cOBJ - center object between selection... pointConstraint; //Find the object to center (last selection)... string $grabEnd[] = `sl -sl -tl l; //Remove its point constraint... string $findPtCns[] = `listRelatives -type pointConstraint $grabEnd`; select $findPtCns; doDelete;
Code:
//cOBJ - center object between selection... pointConstraint; //Find the object to center (last selection)... string $grabEnd[] = `sl -sl -tl l; //Remove its point constraint... string $findPtCns[] = `listRelatives -type pointConstraint $grabEnd`; select $findPtCns; doDelete; // Error: string $grabEnd[] = `sl -sl -tl l; // // Error: Line 4.34: Syntax error //