Post #5120: Guys, if we want to switch from “Sculpt Mode” straigth to specific “Object mode”

📋 Metadata

🏷️ Tags

macro intermediate unsolved

  • 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.


🔗 View on Blender Artists