Chapter 8. Unleashing the Maya API through Python

In this chapter, we will synthesize everything we've learned so far into a module that may change the way you think about Python and Maya programming. We will develop a library that will allow you to create Maya plugins with minimal code in a very Pythonic style, hiding away the complexities of working with the Maya Python API. It will show you how well designed and powerful both Maya and Python are, and the beautiful things they can create together.

We'll start by building a Maya dependency graph plugin using standard API techniques. This will demonstrate Maya's Dependency Graph concepts of input attributes, output attributes, and the compute method. We'll look at the gotchas, boilerplate, and ...

Get Practical Maya Programming with Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.