Ed Operators

bpy.ops.ed.flush_edits()

Flush edit data from active editing modes

bpy.ops.ed.redo()

Redo previous action

bpy.ops.ed.undo()

Undo previous action

bpy.ops.ed.undo_history(item=0)

Redo specific action in history

Parameters:item (int in [0, inf], (optional)) – Item
bpy.ops.ed.undo_push(message="Add an undo step *function may be moved*")

Add an undo state (internal use only)

Parameters:message (string, (optional, never None)) – Undo Message
bpy.ops.ed.undo_redo()

Undo and redo previous action