ZBrushCentral

Resize ZBrush Window

It it possible to either record a macro or script resizing the main ZBrush window so that it only occupies, say, the left hand side of the screen? And then restores on re-running said script or macro. I’ve tried so far, unsuccessfully. Is window resizing beyond the scope of ZScript?

Cheers

You can do it like this for a macro:

[IButton,???,“Adjust the ZBrush Window size”,
[IShowActions,0]
[IConfig,4.8]
[IUnPress,Document:Pro]
[If,[IWidth,Title]>=2560,
[ISet,Document:Width,1280]
,//else
[ISet,Document:Width,2560]
]
[ISet,Document:Height,1440]
[IKeyPress,ALT,[IPress,Document:Resize]]
[IPress,Document:Pro]
,.5]

Obviously you would need to change the values to reflect your screen res. This works because the ZBrush window size can be changed by holding Alt while pressing the Document>Resize button (after first setting the Document>Height & Width).

Awesome, thank you Marcus.

These are for document sizes. May be useful.
http://www.zbrushcentral.com/showthread.php?208087-CustomUI-for-4R8P1&p=1214536#post1214536

cool tip marcus thanks
how would you make it so that it resizes to the right side of the screen though?