Post #2039: I just fixed my Vertex, Edge, Face mode. You can use this.
📋 Metadata
- Author: aermartin
- Date: 2019-03-16 10:56:07
- Type:
answer - Quality Score: 7/10
- Reply to: post_01897
- Replies (1): post_02047
🏷️ Tags
macro hotkeys intermediate solved
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
I just fixed my Vertex, Edge, Face mode. You can use this.
bpy.ops.mesh.select_mode(use_extend=False, use_expand=False, type='VERT')
You can change type= to VERT or EDGE or FACE.
use_extend is if it’s going to shift add to whatever type you’re editing. If editing vertices, and type=‘FACE’ with extend it’s going to edit Vertices and Faces etc. I chose it to be False in my example.
❤️ 1 likes