UndoStep(bpy_struct)

base class — bpy_struct

class bpy.types.UndoStep(bpy_struct)

A single step in the undo history

is_substep

If true, this is a sub-step and should not be shown to the user for undo/redo selection as it is not accessible on its own (default False, readonly)

Type:

bool

name

Label of the undo step (default “”, readonly, never None)

Type:

str

type

Type of the undo step (default 'DEFAULT', readonly)

Type:

Literal[‘DEFAULT’]

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References