ZBrushCentral

How to call z intensity(shift+I) this routine?

Hi everyone,

How to call z intensity(shift+I) this routine? I can’t find z intensity routine name by zscript record!!!

You can find the button path of an interface item by holding down Ctrl while the cursor is over the item. The button path is given at the bottom of the pop-up. So for Z Intensity it is Draw:Z Intensity. You can then use an appropriate zscript command; for example:

[ISet, Draw:Z Intensity, 50]

will set the Z Intensity to 50.

Thanks marcus,

But how to call it in my script so it can show the z intensity slider popup at the mouse place. Just like we press shift+I.

You can’t do it. It is possible to simulate a keypress using zscripting [IKeyPress,] but using that command to simulate “SHIFT+I” doesn’t bring up the slider at the cursor but simply highlights the slider (so a value can be entered).

thanks,

but all I want is to show z intensity slider at the mouse place when I am using my script.