Script Operators

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

Execute a preset

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

startup/bl_operators/presets.py:177

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

Run Python file

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

Reload Scripts

Previous topic

Screen Operators

Next topic

Sculpt Operators