Python API Toolbar Plugin & Tutorial

TonyStark9696
Sun, 15 Dec 2024 23:28:56 +0000
Editor Scripting

I created a plugin using the Python API that allows you to run Python scripts from the Editor Tool Bar instead of using the Python Console or the Tools -> Execute Python Script menu. Add Python scripts to your projects Scripts/Python directory. They will appear under a new “Quick Scripts” dropdown on the main toolbar. I documented the code thoroughly, but if you have questions, feel free to ask.

The plugin and source code are available here: GitHub - Zrondos/unreal-python-quick-scripts-plugin: Unreal Engine Plugin to quickly run Python scripts from the Main Menu toolbar

Here’s a demo:

SEO Keywords:
ToolMenus
ToolMenus.get()
find_menu
add_sub_menu
section
section_name
add_section
add_menu_entry_object
ToolMenuEntryScript
execute
ToolMenuContext
refresh_all_widgets

1 post - 1 participant