Post #4519: Try this in the command tab

📋 Metadata

🏷️ Tags

macro hotkeys advanced solved

  • Macro Editor
  • Python Scripting

💬 Content

Try this in the command tab

bpy.ops.wm.call_menu_pie(name='MACHIN3_MT_align_pie') if C.mode == 'EDIT_MESH' else None; bpy.ops.machin3.align() if C.mode == 'OBJECT' else None

🔗 View on Blender Artists