Info

Features

  • Easy access to the Maya C++ API.
  • Completely bypass MEL or the Maya plugin system to run your C++ inside Maya.
  • Custom node objects, similiar to PyNodes or hou.Nodes that offer name and path agnostic reference to Maya objects.
  • Automatic node specialization, for example light or transform nodes, with custom functionality.
  • Failure behaviour similiar to PyMEL, if a node holds a reference to a non-existent Maya object.
  • Enhanced speed.

Measurements

A figured test example: Renaming 40.000 nodes with PyMel and CPPyMel.

  • PyMel (using PyNodes): 8.6 sec.
  • CPPyMel (using cppy_nodes): 1.3 sec.

Details

  • Wrapping: Boost Python
  • Python Version: 2.6×64, 2.7×64
  • Maya Versions: 2012, 2013, 2013.5, 2014

Disclaimer

This is just a test or proof of concept i have done to dive a little deeper into the Python C API, and is not ment to be a production solution or evolve into a serious project. It’s just fun to toy around with and a great excercise.

Leave a Reply