kcberry
05-05-2010, 03:06 PM
I'm watching the Cartoon Character Rigging in Maya and I'm working on the mel script. I can never get scripts to work.
It gives me a,
// Error: rowColumnLayout –numberOfColumns 2 - cw 2 50; //
// Error: Syntax error //
This is what I have so far,
//checks for our Window and Deletes it
if (`window -exists Node_Generate`) {
delete -window Node_Generate;
}
//Window for our Node Generator
string $Node_Generator = `window
-title "Node Generator"
-wh 128 256
Node_Generate`;
//Define our Row and Column Layout
rowColumnLayout –numberOfColumns 2 - cw 2 50;
//Column1: buttons Column2: button descriptions
separator; separator;
button -label "arcLen Maker" -c "CurveInfo ()"; text -label "CurveInfo";
//shows our window
showWindow $Node_Generator
Thanks for your time,
Keyton
It gives me a,
// Error: rowColumnLayout –numberOfColumns 2 - cw 2 50; //
// Error: Syntax error //
This is what I have so far,
//checks for our Window and Deletes it
if (`window -exists Node_Generate`) {
delete -window Node_Generate;
}
//Window for our Node Generator
string $Node_Generator = `window
-title "Node Generator"
-wh 128 256
Node_Generate`;
//Define our Row and Column Layout
rowColumnLayout –numberOfColumns 2 - cw 2 50;
//Column1: buttons Column2: button descriptions
separator; separator;
button -label "arcLen Maker" -c "CurveInfo ()"; text -label "CurveInfo";
//shows our window
showWindow $Node_Generator
Thanks for your time,
Keyton