📋 Metadata
- Author: Motiomancer
- Date: 2022-02-22 16:15:52
- Type:
answer - Reply to: post_04205
💬 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