execute_code
Run Python code in Blender with preloaded modules like bpy, bmesh, and mathutils, and retrieve a variable's value via return_var for scripting and automation tasks.
Instructions
在 Blender 里执行任意 Python(预置 bpy/bmesh/mathutils/Vector/math)。返回 stdout;return_var 指定要取回的变量名。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| return_var | No |