#include <MTemplateCommand.h>
Helper template class which make it easier to write commands to create/delete a node.
The command is tied into an MDGModifier to create a node with undo support.
Public Member Functions |
|
virtual MStatus | doIt (const MArgList &args) |
virtual MStatus | redoIt () |
Redo the create/delete. |
|
virtual MStatus | undoIt () |
Undo the create/delete. |
virtual MStatus MTemplateCreateNodeCommand< CommandClass, CommandName, NodeName >::doIt | ( | const MArgList & | args | ) | [inline, virtual] |
Execution of the command.
[in] | args | command arguments |
Reimplemented from MTemplateAction< ActionClass, CommandName, CommandSyntax >.
Autodesk® Maya® 2011 © 1997-2010 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |