Post #230: ![](https://blenderartists.org/user_avatar/blenderartists.org/rhyging5/48/725092

📋 Metadata

  • Author: roaoao
  • Date: 2016-07-27 08:31:35
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_00229

🏷️ Tags

pie-menu hotkeys beginner solved

  • Pie Menu Editor
  • Python Scripting
  • Command tab

💬 Content

rhyging5:

I have not success to implement the following buttons:

[ATTACH=CONFIG]446515[/ATTACH]

the mesh selection type
not sure what I missing. Can someone tell how to do?

Afaik, those buttons are hardcoded in Blender and you cannot add them to your pie.
But you can add 3 separate buttons to select Vertex/Edge/Face mode (Command tab):

Vertex mode:

C.tool_settings.mesh_select_mode = [True, False, False]

Edge mode:

C.tool_settings.mesh_select_mode = [False, True, False]

Face mode:

C.tool_settings.mesh_select_mode = [False, False, True]

🔗 View on Blender Artists