Chapter 2. The Basics of MEL Commands

In this chapter you will learn

  • How to run a MEL command or script and see its result.

  • That Maya provides useful tools that let you capture scripts by working in the interface and then using the resulting MEL commands to build shelf buttons.

  • How to read MEL commands that you capture from the interface.

  • Where to find Maya and MEL information on the Internet.

  • How to use MEL scripts that you’ve found on the Internet.

Can I Use MEL Without Scripting?

Before you sit down to write a MEL script, there are two alternatives that may greatly simplify automating your task, depending on what you are trying to do.

First, in many cases another Maya user may have already developed a script or a plug-in that does what you need. Many ...

Get MEL Scripting for Maya Animators, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.