Post #4219: This should work with any non brush sculpt tool if you have the property name, l

📋 Metadata

🏷️ Tags

macro python-scripting advanced solved

  • 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


🔗 View on Blender Artists