close_blender
Close Blender instances gracefully or force quit, optionally saving the current .blend file before exiting to prevent data loss.
Instructions
Close Blender. Works for an instance started with start_blender() and, via the addon socket, for one the user launched by hand.
Parameters:
force: If True, kills the managed process immediately instead of asking Blender to quit gracefully via its Python API (default False).
save: If True, save the current .blend (if it has a path) before quitting. Unsaved changes are otherwise discarded without a prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| force | No |