ZBrushCentral

remapping undo(CTRL+Z)/redo -- back history / forward history

I am curious if you can (and how to) map the undo function to a different key. I would like to set a key to go back in history (Ctrl+Z style) and perhaps one to go forward.

I tried CLT+ALT+Click on the Undo and Redo functions in the Edit->Tool area but they are not sticking. They seem really finicky. Especially the Undo function. It seems to only work once.

Thanks

I believe you have to edit the start up hotkeys document by hand. But I could be wrong.

There’s a setting for how many and what. CTRL+Z for undo and SHIFT+CTRL+Z for redo on Windows. Mine seems to work OK. Section on it here for your editing information. http://docs.pixologic.com/user-guide/keyboard-shortcuts/defaulthotkeys-file/

I want to set it to CTRL+[ and CTRL+]

I don’t know the code to put in that txt file. Perhaps somebody knows the undo/redo code so i can set the key up in that startup txt.

thanks

If you assign those keys by Ctrl+Alt clicking on the buttons and then store the hotkeys the relevant codes will be in the StartupHotkeys.txt file so that you can then edit them correctly. The need for editing is because when assigning hotkeys in the normal way you get the Undo number along with it (so Undo 5 or Redo 3 or whatever). This is what stops the hotkey working unlees you happen to be on undo 5 or redo 3. Removing those numbers solves the problem.

For the hotkeys you want you would edit the file like this:

[EDIT:TOOL:UNDO,731] // Ctrl+[

[EDIT:TOOL:REDO,733] // Ctrl+]

HTH,

Hrm. I dropped those in the hotkey text and it doesn’t seem to be working. I’m not sure what I am doing wrong.

Which file are you editing? Make sure it is the one described here:

http://docs.pixologic.com/user-guide/keyboard-shortcuts/defaulthotkeys-file/

There must be something well beyond my understanding here. I made sure i’m editing the txt file expressed in the link you pasted. I started by adding

[EDIT:TOOL:UNDO,731] // Ctrl+[

[EDIT:TOOL:REDO,733] // Ctrl+]

Restart Zbrush and it didn’t work

So I added a piece that was talked about in that same exact link about Undo/Redo

[EDIT:UNDO,634] // Ctrl+[

[EDIT:TOOL:UNDO,634] // Ctrl+[

[EDIT:REDO,890] // Ctrl+]

[EDIT:TOOL:REDO,890] // Ctrl+]

restart zbrush

Still doesn’t work.

I’ve tried these on all the startup.txt files I can find actually.

I’m trying a combination of things and not getting it.

Does it help to know that i’m on Floating License?

Thanks.

rv_el,

By copying the code as you’ve done you are restoring the old hotkeys. It’s the 732 and the 733 that tell ZBrush what hotkeys you want to use, the " // Ctrl+[" are just comments and have no effect.

Anyway it sounds as though you have a conflict somewhere. Try this:

  1. Open the StartupHotkeys.txt file that is in the C:\Users\Public\Documents\ZBrushData\ZStartup\Hotkeys\ folder. Depending on your version of Windows, this may appear as Public>Public Documents>ZBrushData>ZStartup>Hotkeys in Windows Explorer but it is actually the same location.
  2. Remove all previous references to the Undo/Redo hotkeys and then copy this to the file so that it is at the the end of the other entries:

[EDIT:UNDO,731]

[EDIT:TOOL:UNDO,731]

[EDIT:REDO,733]

[EDIT:TOOL:REDO,733]

  1. Save the file.
  2. Check in the Pixologic/ZBrush 4R6/ZStartup/Hotkeys folder and if there’s a StartupHotkeys.txt file there delete it.
  3. Restart ZBrush.

Note: this assumes you are on Windows. If you are on Mac OSX let me know.

Thank you! That worked great. Yeah I thought the number i.e “731” was the actual function (undo or redo) and that the keyboard attachment was at the end. But yes “//” means comment. I should have picked up on that.