Script Operators

bpy.ops.script.autoexec_warn_clear()

Ignore autoexec warning

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:217

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

Run Python file

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

Reload Scripts