Autodesk Maya’s MStatus with exceptions

The API of Autodesk Maya is very powerful, but also a bit cumbersome to use due to its age and extremely conservative design. One of its code features is the use of the MStatus class to handle error states — almost all API calls either return or accept a pointer to an MStatus instance. In […]