ZBrushCentral

Toggle alpha script?

I tend to use alpha 16 a lot, constant switching distracts from work.
Can anyone help with a zscript that would toggle an alpha on and off.

Cheers! Mariusz

Hi @barayase

@marcus_civis would be the best man to answer this.

Hi Mariusz,

Here’s a macro that will do it. Save the file to your ZBrush 2022\ZStartup\Macros\Misc folder and restart ZBrush or press Macro>Reload All Macros.

You should then have a button called “ToggleAlpha16” in your Macro palette. Pressing the button will toggle Alpha 16 off/on.

Note: if any other alpha is selected then Alpha16 will be selected instead. Pressing the button again will select “Alpha Off”.

ToggleAlpha16.txt (259 Bytes)

Thanks @zber2 ! :slight_smile:

HTH,
Marcus

2 Likes

Thank you Marcus super appreciated!

I take it this could work with brushes as well, just by changing IPress alpha command?

Cheers!
mariusz

1 Like

Yes, you could make it work with brushes. As there is no “Brush Off” you’d need to toggle between two brushes.