O'Reilly logo

MEL Scripting for Maya Animators, 2nd Edition by Mark R. Wilkins, Chris Kazmier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Manipulating Nodes in MEL

In this chapter you will learn

  • How your MEL scripts can find nodes in your scene by name.

  • How to manage the selection list.

  • Choices for ways to create nodes in your MEL scripts.

  • Finding parents and children of nodes in the transform hierarchy.

  • Finding information about node connections.

  • About Maya’s node types and the DG Node Reference.

As we discussed in Chapter 5, MEL scripts often serve to help build structures of nodes in your scenes. Chapter 5 discussed the basics of creating nodes, connecting their attributes, setting attribute values with getAttr and setAttr, and creating expressions in your MEL scripts. In this chapter, we discuss in more detail how your scripts can manipulate and create nodes.

Using ls Command ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required