Script Operators

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

Execute a preset

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

startup/bl_operators/presets.py:179

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