ZBrushCentral

dividers

hi, guys/gals!

could someone please tell me how i can set up a hotkey or script that would toggle the dividers to open/closed?

i would really appreciate it.

That is easy enough:


[IConfig,2]

[ISubPalette,"ZPlugin:Misc Utilities"]

[IButton,"ZPlugin:Misc Utilities:Left Div","Toggle Left Divider Open/Close",
[IShowActions,0]//Temporarily switches of ShowActions
[IClick,1000]
,,76 //button width
,'j']//Hotkey



[IButton,"ZPlugin:Misc Utilities:Right Div","Toggle Right Divider Open/Close",
[IShowActions,0]
[IClick,1001]
,,76
,'k']//Hotkey

You can change the hotkey code to whatever you want but make sure that you avoid conflicts. /Don’t miss the ’ ’ around the hotkey letter. For modifier keys put CTRL + ‘k’ or SHIFT + ‘k’ and so on/
Alternatively you can change the hotkeys after installation by using the Hotkey Editor.

Save the above code as a TXT file to your ZSTartup\ZPlugs folder (you may need to create the ZPlugs folder if you have a new installation of ZBrush). Load the TXT file using the ZScripts:LOad button. Your hotkeys will then be available every time you start ZBrush.

awesome, thanks for this code!

casey