Post #4518: I would like the call a tool but it has 2 different operator in Object and Edit
π Metadata
- Author: Adam_Szalai
- Date: 2022-08-17 18:58:10
- Type:
question - Quality Score: 6/10
- Replies (1): post_04519
π·οΈ Tags
macro hotkeys intermediate unsolved
βοΈ Related PME Features
- Macro Editor
- Pie Menu Editor
- Modal Editor
π¬ Content
I would like the call a tool but it has 2 different operator in Object and Edit mode.
What makes a bit tricky that i want to use the same Regular Menu in both Object and Edit mode.
The two operator (as i can see in keymap list):
machin3.align to the Object mode
and
wm.call_menu_pie - MACHIN3_MT_align_pie to Edit mode.
I made a similar βbranchβ with a macro. i called the two operators and the Object or Edit mode decided which will be executed 
But the same trick is not working this time 