Script Operators
- bpy.ops.script.execute_preset(*, filepath='', menu_idname='')
Load a preset
- Parameters:
filepath (str) – filepath, (optional, never None)
menu_idname (str) – Menu ID Name, ID name of the menu this was called from (optional, never None)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- File:
- bpy.ops.script.python_file_run(*, filepath='')
Run Python file
- Parameters:
filepath (str) – Path, (optional, never None)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.script.reload()
Reload scripts
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]