What's New in API

 
 
 

API changes

Rendering

The Extension for Maya 2013 includes many API changes for Viewport 2.0. There are many enhancements to OpenMaya Render; for example, draw mode, shader override and geometry enhancements. In addition, several plug-in examples have been added and updated. OpenMaya UI has also been updated for the default viewport. For more information, see the Maya API Documentation at www.autodesk.com/maya-sdkdoc-2013-enu.

Scene Assembly

A new Scene Assembly system has been implemented in Maya as a plug-in using a new Scene Assembly API. The Scene Assembly API allows for development of custom Scene Assembly nodes with expanded capabilities, and can provide integration with existing content development pipeline processes and tools. For more information, see the MFnAssembly class in the Maya API Documentation.

Metadata

A new Metadata API along with a small set of commands support the definition and creation of an arbitrary number of metadata structures that can be attached to certain components of Maya mesh objects, including vertices, faces, and edges, or directly to a Maya node. The metadata created can flow through certain mesh operations in the Maya DG, maintaining its attachment to the mesh. The metadata can later be examined or modified by certain Maya commands or through the API, and is preserved in Maya files across sessions.

Recursively parsing folders in a module

By default, Maya ignores all subfolders included in a module. You can use the [r] keyword to request recursive behavior for a folder.

Maya Viewport 2.0 API Guide and new Best practices section added to API Documentation

A new Viewport 2.0 API Guide and a new PyQt and PySide Widget Best Practices section has been added to the Maya API Documentation. See the Maya API Documentation for more information.