Script Operators

bpy.ops.script.execute_preset(filepath="", menu_idname="")

Execute a preset

Parameters:
  • filepath (string, (optional, never None)) – filepath
  • menu_idname (string, (optional, never None)) – Menu ID Name, ID name of the menu this was called from
File:

startup/bl_operators/presets.py:238

bpy.ops.script.python_file_run(filepath="")

Run Python file

Parameters:filepath (string, (optional, never None)) – Path
bpy.ops.script.reload()

Reload Scripts