execute_blender_code_for_cli
Execute Python code in a headless Blender process: open a .blend file, run your script, and retrieve data assigned to 'result'.
Instructions
Execute Python code in a background Blender process.
Opens blend_file with blender --background and runs code.
Assign a dict to result to return data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| blend_file | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||