It can be useful to be able switch between two brushes using a hotkey. ZBC user fceless has posted an excellent plugin that allows you to set two brushes herehttp://www.zbrushcentral.com/showthread.php?207452-zCycler-Brush-Cycle.
But what if you’d like several pairs of brushes, each with their own hotkey? It’s very easy to do by creating a macro. Here’s the code:
[VarSet,brush_1,“Brush:Standard”]//change to brushes you want
This switches between the Standard and the Clay brush. To use it, all you need to do is paste the code into NotePad or TextEdit and save the file to the ZBrush 4R8/ZStartup/Macros/Misc folder. Use a file name like “BrushToggle1.txt”. Press the Reload All Macros button in the Macro palette and your new button called “BrushToggle1” will appear in the Macro>Macros>Misc sub-palette. Give the button a hotkey and it’s ready to use.
To make a second toggle all you need is to duplicate the code into a new txt file. Change these two lines to the brushes you want, such as:
[VarSet,brush_1,“Brush:TrimDynamic”]//change to brushes you want
Be careful to add the names exactly as they are in ZBrush. Now save the file as before but be sure to give it a different name, such as “BrushToggle2.txt”.
You can repeat this as often as you like, just so long as you save each file with a different name.
Download text file here:
Let me know if you’ve any questions.