Script Operators

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

Executes a preset

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

op/presets.py:84

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