ZBrushCentral

Classic Draw Size

I want to get brush size slider without dynamic button because I often pressed wrong dynamic button.So I made classic brush size slider but it’s not same as z4r4.
Radius brush does not synchronized with the value of the slider. Slider does not work great on smaller numbers.
How to make the same thing?

[ISubPalette,"Zplugin:Classic Draw Size"]
[ISlider,Zplugin:Classic Draw Size:Draw Size,1,1,1,250,,
    [ISet,Draw:Draw Size,[IGet,Zplugin:Classic Draw Size:Draw Size]],,[TextCalcWidth,SelectMark123456789]]

There’s not really a different way of doing what you want. Your code works ok for me without the problems you describe. I don’t see anything in your code that would be causing it to fail, although there’s no need for the TextCalcWidth - just put a 1 for full palette width slider, 0.5 for half palette width, etc. Also putting the slider name inside quotation marks can avoid problems.


[ISubPalette,"Zplugin:Classic Draw Size"]
[ISlider,"Zplugin:Classic Draw Size:Draw Size",1,1,1,250,,
    [ISet,"Draw:Draw Size",[IGet,Zplugin:"Classic Draw Size:Draw Size"]],,1]

That’s too bad. Thanks, Marcus!