Maya Python API 2.0 is more Pythonic than Maya Python API 1.0. Its structure will be more familiar to Python programmers, and will be more intuitive to use as a result.
Maya Python API 2.0 is not as comprehensive as API 1.0, but it has several advantages over API 1.0:
You can use both Maya Python API 1.0 and Maya Python API 2.0 together. However, you cannot pass an API 1.0 object to an API 2.0 method and vice versa.
Use the Python API 2.0 reference and the Maya Python API 2.0 examples to help you get started.
Platform | Location of plug-in examples |
---|---|
Windows | devkit\devkitBase\plug-ins\python\api2 |
Linux and macOS | devkit/devkitBase/plug-ins/python/api2 |