Post #3544: : post_03548
🏷️ Tags
⚙️ Related PME Features
- Pie Menu Editor
- Regular Menu
- Python Scripting
- Modal Editor
💬 Content
Nathaniel_Scheurer:
I would like the edit mode button to expand and give me the option to choose what selection mode I want.
Hi @Nathaniel_Scheurer,
Add a new Regular Menu with 3 slots:
Vertex:
bpy.ops.object.mode_set(mode='EDIT', toggle=False); C.tool_settings.mesh_select_mode = (True, False, False)
Edge:
bpy.ops.object.mode_set(mode='EDIT', toggle=False); C.tool_settings.mesh_select_mode = (False, True, False)
Face:
bpy.ops.object.mode_set(mode='EDIT', toggle=False); C.tool_settings.mesh_select_mode = (False, False, True)
And use it in the pie menu (Menu tab with Open on Mouse Over checked)
❤️ 3 likes