📋 Metadata

💬 Content

RaphaelBarros:

But what if I wanted to have a button that calls a Macro Operator from PME or something that isn’t a Blender default operator.

You can use pme.exec operator with open_menu() function:

sub = L.row(align=True); sub.enabled = False; operator(sub, "pme.exec", cmd="open_menu('Macro Operator Name')", text=slot, icon=icon, icon_value=icon_value)

❤️ 2 likes


🔗 View on Blender Artists