Post #4219: This should work with any non brush sculpt tool if you have the property name, l
📋 Metadata
- Author: Motiomancer
- Date: 2022-02-22 16:15:52
- Type:
answer - Quality Score: 8/10
- Reply to: post_04205
🏷️ Tags
macro python-scripting advanced solved
⚙️ Related PME Features
- Python Scripting
- Macro Editor
- Property Editor
💬 Content
This should work with any non brush sculpt tool if you have the property name, like strength or type (custom tab)
t = C.workspace.tools.from_space_view3d_mode(C.mode); L.prop(t.operator_properties(t.idname.replace("builtin","sculpt")), "strength")
and
t = C.workspace.tools.from_space_view3d_mode(C.mode); L.prop(t.operator_properties(t.idname.replace("builtin","sculpt")), "type")
❤️ 1 likes