begin_operation
Start a named operation to wrap multi-step asset work as one undoable task with a checkpoint, allowing it to be canceled in one call.
Instructions
Open a named operation: an undo boundary plus a checkpoint.
Wrap multi-step asset work in begin_operation / end_operation so it reads as one task in Blender's history and can be abandoned in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Replace an operation that is already open | |
| label | Yes | What this group of commands is doing, e.g. 'build wooden crate' | |
| checkpoint | No | Save a checkpoint now. This is what makes cancel_operation reliable. | |
| require_checkpoint | No | Fail if the checkpoint cannot be written, instead of continuing without one |