• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. MEL > What Can MEL Do and How Is It Used?

What Can MEL Do and How Is It Used?

MEL can do almost anything that Maya can do—and actually much more, in many cases. MEL can be used to automate tasks that would have normally been tedious and repetitive for someone to do by hand. The beautiful thing about MEL is that a well-written script will almost never make mistakes (but people often do after doing the same thing—such as selecting and deleting the same five vertices of a polygon—hundreds of times). MEL can be used to design and implement everything from the very simplest of scripted character GUIs to quite sophisticated algorithms in all corners of Maya's domains—from modeling and animation; to particle dynamics, effects, and rendering; all the way to the very user interface that exposes these commands to any average user. MEL can do it all. MEL can even do file I/O, in that it can write to and read from files on a hard disk or across a network. This gives it the easy capability to create and read from ASCII log files or to create, execute, and send batch job files to a distributed network-queuing system or to a render farm. In fact, MEL can import files, export files, save files, and even execute and send command-line arguments to any external program that your heart desires.

With all these features easily accessible, MEL can be used to do just about anything that involves communicating the flow of data between Maya and the rest of your production pipeline, and automating all the unnecessary stages that may lie in between. MEL is most commonly used by the Maya TD (Technical Director) to accomplish specific tasks that are simply too repetitive or too technically complicated, or that require precise algorithmic logic to accomplish. It can then package them up into neat little scripts that can easily be sourced and executed on demand by any user on the network.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint