Create a new action. After this is called, do all your calls to addDoMethod, addUndoMethod, addDoProperty, and addUndoProperty, then commit the action with commitAction.
See Implementation
Create a new action. After this is called, do all your calls to addDoMethod, addUndoMethod, addDoProperty, and addUndoProperty, then commit the action with commitAction.