Getting Started with MEL in Maya
Welcome to this tutorial designed to get you up to speed with MEL scripting. Software required: Autodesk Maya 2014.
What you'll learn
Welcome to this tutorial designed to get you up to speed with MEL scripting. We'll start by learning basic MEL syntax for printing code for command responses and running Maya commands. We'll then learn how to create variables, and work with various types and concatenations. We'll even learn how to create arrays, 'for' loops, and windows so that we can get comfortable with building tools of our own that we, and other artists can utilize to be more efficient inside of Maya. By the end of this tutorial, you will have the foundation you need to work comfortably with MEL. Software required: Autodesk Maya 2014.
Table of contents
- Your First Mel Script 7m
- Running Maya Commands in Mel 8m
- Specifying Flag Values in Mel Commands 3m
- Transforming Objects with Mel 7m
- Using Mel Commands That Are Designed to Work a Certain Way 10m
- Variables 7m
- Concatenating Your Code 5m
- Creating Arrays 11m
- Working with 'for' Loops 9m
- Changing the Properties of Items Inside of a 'for' Loop 4m
- Creating Our Object Alignment Tool 7m
- Building a Window for Our Object Aligner 9m
- Preventing the Duplication of Windows 6m
- Generating Objects Along the Cvs of a Curve 10m