beginUndoRedoAccum

Description

This function starts the accumulation of all of the functions between it and the endUndoRedoAccum function as one command that will appear in the undo/redo list. If you do not use this function with endUndoRedoAccum, each function in the script generates a separate undo/redo entry.

Syntax

scene.beginUndoRedoAccum(“commandname”);

Arguments

“commandname”

“commandname”: The name of the command to be added to the undo/redo list.

Related Topics 

Scene