📋 Metadata

💬 Content

StroBlend:

Great! It will be possible to launch a command instead of a menu? don’t know if you understood me correctly I would like to have the appearance of a menu button but for a regular button that can run command or popup.

No, we can’t use regular button to open Import/Export menu. Because for some reason these menus are designed to be used as a sub-menu only.

In the next version you will be able to display clickable button in pies (Import button):

using this code in Custom tab:

L.menu("INFO_MT_file_import", text, icon=icon, icon_value=icon_value, use_mouse_over_open=False)

To test it you can extract this file (pme1.14.9_menu.zip (4.69 KB)) to scripts/addons/pie_menu_editor/ folder and restart Blender.


🔗 View on Blender Artists