Is it possible to switch to vertex mode (and edge, face mode) via python. I know I can toggle between object mode and edit mode in python with
But how can I explicitly say I want to go in vertex mode?
I prefer to not use operators, if they can be avoided. You may use:
Assign a tuple of 3 booleans to set Vertex, Edge, Face selection.
To activate vertex selection mode, use:
For edge + face multi-selection mode, use:
When working with the BMesh Module (bmesh), there's also
For edge selection, do:
For vertex and face selection multi-mode, do: