ZBrushCentral

How scripting Macro to choose Front View?

Hi everybody,

I would like to have a Macro to press the Front button.
(I need it to switch between to views, with storing the last position before switching)

It doesn’t work unfortunately.
I can script to press the “store view” button, but it seems not possible to choose any Reference View.

This is how it looks now:

//ZBRUSH MACRO - Recorded in ZBrush version 4.73
[IButton,???,“Press to run this macro. Macros can be aborted by pressing the ëescí key.”,
[IConfig,4.73]
[IShowActions,0]
[IFreeze,]
[IPress,Texture:Image Plane:Reference Views:Store View]
[IFreeze,]
[IPress,Texture:Image Plane:Reference Views:Front]

Any tips or suggestions?
Many thanks

Axis plug switches views. It’s been on here quite a while. I made some buttons as well. Link below post if you’re interested. Uploaded a bunch of files :slight_smile: Shouldn’t confuse you too badly I hope. :wink:

Many thanks! axis plug is very good.

p.s. Would be perfekt, if there would be also a custom perspective view (as known from other applications, which remembers the last perspective view before you enetered a orthographic view, so that you can switch immediately back).

You could edit the text files I uploaded with different values for the degrees and name ;). Make the UI yours.

A Keyframe on the Timeline will do exactly that. You can store and switch back to any view you want with one or multiple keyframes.

thanks, also good to know… I remember this workflow from maya