Template class for undoable commands to create/delete a node.
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.
#include <MTemplateCommand.h>
Public Member Functions |
|
virtual MStatus | doIt (const MArgList &args) |
Execution of the command. |
|
virtual MStatus | redoIt () |
Redo the create/delete. |
|
virtual MStatus | undoIt () |
Undo the create/delete. |
Execution of the command.
[in] | args | command arguments |
Reimplemented from MTemplateAction< CommandClass, CommandName, CommandSyntax >.