What's New in Evaluation and Performance

Additions to MDGContext

New methods have been added to the MDGContext class to help better manage the current evaluation contexts. These methods include:

Added a new MDGContextGuard class, which lets you use a scope object to modify evaluation context for a sequence of context-related calls.

See Evaluation using current context for more information.

Classes updated for current context evaluation

A number of methods from the following classes have been deprecated and replaced with current context versions.

See Evaluation using current context for more information.

MProfiler additions

New methods have been added to the MProfiler class that allow plug-in writers to export a recording to either a .json or a .csv file, which can then be visualized in a spreadsheet or webpage, independently of Maya.

These methods include:

MEvaluationNode and MPxNode

The MEvaluationNode class is now exposed in the Python API.

The MPxNode class MPxNode::preEvaluation() and MPxNode::postEvaluation() virtual methods are now exposed in the Python API.

Drawing performance