PDA

View Full Version : How to call z intensity(shift+I) this routine?



xueqing0622
11-23-06, 11:32 PM
Hi everyone,

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

marcus_civis
11-24-06, 01:16 AM
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.

xueqing0622
11-24-06, 01:42 AM
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.

marcus_civis
11-24-06, 02:54 AM
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).

xueqing0622
11-24-06, 03:13 AM
thanks,

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