Post #2782: Try to enter Sculpt mode before changing the brush:
📋 Metadata
- Author: roaoao
- Date: 2019-09-23 22:51:58
- Type:
answer - Quality Score: 8/10
- Reply to: post_02781
🏷️ Tags
⚙️ Related PME Features
- Macro Editor
- Python Scripting
- Hotkey Configuration
💬 Content
Try to enter Sculpt mode before changing the brush:
bpy.ops.pme.timeout(override_context('VIEW_3D'), cmd='bpy.ops.object.mode_set(mode="SCULPT"); bpy.ops.wm.tool_set_by_id(name="builtin_brush.Smooth")')
❤️ 3 likes