ZBrushCentral

Scripts control the viewing angle?

image
How do you use scripts to control Move Edit, scale Edit, and rotate edits in transformations (seen above). It’s too inconvenient for the mouse to rotate the perspective, so I want to trigger the script with shortcut keys to achieve the effect of mouse zoom panning 3D perspective. Ask for help and be grateful.

You can’t script those buttons to do what you want. The problem is that you can really only “press” the buttons. There is the [IClick] command which can simulate a “click+drag” but that probably won’t work how you want (although it is years since I tried it…).

It depends on what you are trying to do but you may find that the TransposeSet/Get command is all you need.

Marcus