Chapter 11. Naming Nodes, Scripts, and Variables

In this chapter you will learn

  • Why naming conventions are important.

  • Useful strategies for naming scripts.

  • Useful strategies for naming variables.

  • Useful strategies for naming nodes.

  • How to write scripts that manipulate node names.

  • What namespaces are and their purpose.

Why Naming Conventions Are Important

As you develop scripts or create Maya scenes, you have tremendous freedom in naming your nodes, scripts, and variables. When your scenes are simple, often Maya’s default node names, for example, are enough to organize your thoughts about what you are manipulating. However, once your scenes are sufficiently complex, you have begun to build up a library of MEL scripts, and you have defined enough variables ...

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.