Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 01-03-2010, 05:41 PM   #1
roontoon
Registered User
 
Join Date: Dec 2009
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
roontoon is offline   Reply With Quote
Old 01-03-2010, 06:35 PM   #2
roontoon
Registered User
 
Join Date: Dec 2009
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default Doesn't matter what I enter....

I get errors no matter what I enter and execute as a mel command.... I just entered:

// This is a comment.
print(5 + 10); // This is a comment too.

and got the same error.... Do I have to change some preferences.... :headbang: :headbang: :headbang:

d
roontoon is offline   Reply With Quote
Old 01-03-2010, 06:37 PM   #3
roontoon
Registered User
 
Join Date: Dec 2009
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Got it figured out.... Newbie mistake. <he blushes with embarrassment>

d
roontoon is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
MEL headache! happymat27 Members Lounge 5 05-12-2010 09:43 AM
MEL headache!! happymat27 Mel Scripts & Programming 1 03-12-2010 04:41 PM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.