View Full Version : How to Start?

09 September 2007, 08:34 AM
Hey i am new to MEL although i haven't started yet. I really want to learn scripting as they make the complicated work easier. So my question is where should i start from ? Should i learn C language first and then start working in MEL or should i start MEL basics directly and work on it ?
Need your views.


09 September 2007, 10:32 PM
Nah man, forget C. Just jump straight in.
Its all pretty easy, you just need to figure out some simple concepts of variables and procedures. Try RobTheBlokes site to get started.
MEL can be complex, but if you're doing simple stuff, you shouldn't have too many problems. Just search for some simple tutorials on the net and work your way through them.

09 September 2007, 01:00 PM

In my experience you need an example case to start with!
Pic a task for yourself and try to do it.

1. get an editor of your choice
2. if necessary get context highlighting for it
3. read code "Echo All Commands" prints out
4. read the Maya Mel Docs! They are pretty neat! (http://localhost:4449/MayaX.X/en_US/Commands/ <-- X.X is your Maya version!)
5. search the web, mel boards and sites (eg: highend3d (, mel wiki (, brian ewert (, Rob Bateman ( ... and here of course)
6. search scripts that do your task quite similar and try to dis/assemble them for your needs.

// now some scripting specific stuff:
7. // comment your scripts a lot!!
8. { use scopes }
9. give your procedures comprehensible names (not: doIt, create ...)

09 September 2007, 01:29 AM
Try reading the "Conversational MEL" 1/2/3 articles here:

The are quite easy to read and follow.

CGTalk Moderation
09 September 2007, 01:29 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.