📋 Metadata

  • Author: Adam_Szalai
  • Date: 2025-04-06 10:40:17
  • Type: question

💬 Content

Hey there!

I would like to call a Pie Menu Editor macro in a .py file as a bpy.op (or any other way) if its possible
I would like to create context depending macro selects and the easiest way to do that is creating those context depending branches in python.
I already tried

bpy.ops.pme.macro_*****

where *** is the actual macro name, but nothing happens :slight_smile:

Please tell me i can connect PME with python via bpy.
Would be a game changer instantly.

Edit: my bad, if i paste the whole bpy.ops.pme.macro_ command into the py from Info section (with all its parameters), then bpy execute the macro.


🔗 View on Blender Artists