Thread: Newbie at Mel
View Single Post
# 1 01-03-2010 , 05:41 PM
Registered User
Join Date: Dec 2009
Posts: 32

Newbie at Mel

I am doing a tutorial that is older and I am using Maya 2010, not sure if that is the problem but when I enter the code for the tutorial and run it, it is throwing an error. If you could take a look below and see if anything obvious jumps out at you. The error I am getting is # Error: line 0: SyntaxError: ^: invalid syntax

Thanks in advance.

d


// 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 50;

// Column1 Buttons Column2 Button Descriptions

separator; separator;

button -label "arcLen Maker" -c "CurveInfo()"; text -label "CurveInfo";

// shows our window
showWindow $Node_Generator