Package mrv :: Package maya :: Module undo :: Class UndoCmd
[hide private]
[frames] | no frames]

Class UndoCmd

source code

OpenMayaMPx.MPxCommand --+
                         |
                        UndoCmd

Instance Methods [hide private]
 
__init__(self) source code
    Command Methods
 
doIt(self, argList)
Store out undo information on maya's undo stack
source code
 
redoIt(self)
Called on once a redo is requested
source code
 
undoIt(self)
Called once undo is requested
source code
 
isUndoable(self)
Returns: True if we are undoable - it depends on the state of our undo stack
source code
Static Methods [hide private]
    Command Methods
 
creator() source code
 
createSyntax() source code
Class Variables [hide private]
  kCmdName = "storeAPIUndo"
  fId = "-id"
Method Details [hide private]

isUndoable(self)

source code 
Returns:
True if we are undoable - it depends on the state of our undo stack

Note: This doesn't really seem to have an effect as we will always end up on the undo-queue it seems