Blenderforum
Blender 4.2.0 python brush modifier - Druckversion

+- Blenderforum (https://blender-forum.de/forum)
+-- Forum: Blender Hilfe (https://blender-forum.de/forum/forumdisplay.php?fid=4)
+--- Forum: Support (https://blender-forum.de/forum/forumdisplay.php?fid=5)
+--- Thema: Blender 4.2.0 python brush modifier (/showthread.php?tid=564)



Blender 4.2.0 python brush modifier - Punky - 13.03.2024

Under Blender version 4.0.2 I use following command in python and it works fine:
bpy.data.brushes["Draw"].strength = 0.26087  (just simplified example)
It does not seem to work the same on 4.2.0.
I can assign the value and can see it afterwards (so it has assigned it) but it would not change the value on the UI (the UI seems to use a value from somewhere else)
What do I need to know to get the correct modifier value changed for the brush for 4.2.0?
Many thanks in advance for your help.
Punky