Post #5120: Guys, if we want to switch from “Sculpt Mode” straigth to specific “Object mode”
📋 Metadata
- Author: SoundDifferent
- Date: 2024-05-01 14:39:49
- Type:
question - Quality Score: 6/10
- Replies (1): post_05121
🏷️ Tags
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
Guys, if we want to switch from “Sculpt Mode” straigth to specific “Object mode” selection mode, like vertex, or faces, how we can achieve this?
I was try to put some into macros like:
bpy.ops.object.mode_set(mode=‘EDIT’)
and then
bpy.ops.mesh.select_mode(use_extend=False, use_expand=False, type=‘EDGE’)
But it gives me the error what macros was failed because of - context incorrect.