Chapter 7. Taming the Maya API

Maya's Python command system, MEL, is extremely powerful. You can use it to automate and customize Maya to an incredible degree. Python and PyMEL have largely superseded MEL because they are much more powerful and flexible. We've put this power and flexibility to great use by creating composable libraries, robust error handling, an automation system, and maintainable GUIs.

What we haven't yet discussed is Python's role in augmenting, and in many cases replacing, C++ in Maya programming. There are some things that the command system and MEL are designed to not do. Dealing with the Maya Application Programming Interface (API) is one such thing. Python, however, can utilize most of the Maya API that C++ has access to. ...

Get Practical Maya Programming with Python 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.