Post #4519: Try this in the command tab
📋 Metadata
- Author: Motiomancer
- Date: 2022-08-18 00:20:38
- Type:
answer - Quality Score: 7/10
- Reply to: post_04518
- Replies (1): post_04520
🏷️ Tags
⚙️ Related PME Features
- 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