blender.begin_transaction
Open a transaction to record all Blender changes, so you can rollback to a labeled state. Begin before multiple edits to undo them together.
Instructions
Open a transaction. Every mutating call until commit or rollback is recorded, and blender.rollback_transaction puts all of them back.
label: optional name for the starting point, e.g. "layout". Later rollbacks can return to it by name.
Fails with TRANSACTION_ACTIVE if one is already open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||