ZBrushCentral

How to set UI values at startup if they requre <Ctrl> key pressed? (solved)

I’m trying to set LazyMouse settings to specific values (LazyStep 0.07, LazyRadius 64, LazySmooth 0) for both - normal and masking mode.
Tried recording a macro, but encounter some problems:

  1. Macrorecorder seems to ignore state of Ctrl key in most cases. It gave me
    [ISet,Stroke:LazyStep,0.07771]
    no matter if Ctrl is pressed or not, which will set LazyStep for standard brush while I need it to work with masking.

  2. On startup, LazyMouse settings is disabled.
    I need to load ztool and enter Edit mode first, thus I’m worried that macros wouldn’t work anyway.

Any ideas?

You just had to edit the macro text file appropriately (see diagram)

I have included a macro file that you can download. What the macro does is draw a sphere on the canvas, makes your lazymouse settings for both normal and Ctrl key press, then deletes the sphere. Put it in your ZStartup\Macros\Misc folder.

If you want the macro to run automatically at startup, then add the following line in ‘DefaultZScript.TXT’ file in your ZScripts folder.

[If,1,[IPress,Macro:Macros:Misc:lazymouseset]]

NOTE: The ‘lazy mouse set’ macro that I included in the zip file must go in your ZStartup\Macros\Misc folder if you add the above line in your DefaultZScript.TXT file.

macro.JPG

Thank you. :+1: Works perfectly.