kodra
I contacted to SideFX support for this.
They suggest recreating the hotkeys in H20.5. No kidding.
I really don't know why they changed how hotkeys work.
ikoonIll cry for you too my friend, my condolences.
I have over 300 hotkey overrides.
(some of them are assignments, some of them were automatic "un-assignments" of default hotkeys)
Thank you guys for the information. I hope there will be some way to convert them from 20 to 20.5
import keymaputils keymaputils.importV1KeymapBindingsToKeymapFile("path_to_new_keymap2.keymap2", "path_to_old_keymap.keymap", "path_where_to_write_the_new_keyamp2_file", "KeymapName")
Ondrej
Houdini 20.5 is using a new hotkey system, with new default configuration files and a new keymap file format and extension (.keymap2).
The documentation on all this is a little behind, so please bear with us.
You can bring in your bindings from an old .keymap file into a new .keymap2 file, with a helper python script, but it's a little involved. First you need to save out a new .keymap2 file from Houdini to act as source from which we will look up the bindings in the old .keymap file and generate a new .keymap2 file with your old bindings.
Then, in a python shell, you can run the following, replacing the arguments to match your file paths/names.import keymaputils keymaputils.importV1KeymapBindingsToKeymapFile("path_to_new_keymap2.keymap2", "path_to_old_keymap.keymap", "path_where_to_write_the_new_keyamp2_file", "KeymapName")
if (version := keymap.get(version_token)) and version >= 2: impl = Version2KeymapImpl() else: impl = Version1KeymapImpl()
PermissionError: Permission denied:from the python shell.
import keymaputils keymaputils.importV1KeymapBindingsToKeymapFile( "C:\\Users\\<YOUR_USERNAME>\\Documents\\houdini20.5\\animgraphlab_hotkeys_20.5.keymap2", "C:\\Users\\<YOUR_USERNAME>\\Documents\\houdini20.5\\animgraphlab_hotkeys.keymap", "C:\\Users\\<YOUR_USERNAME>\\Documents\\houdini20.5\\animgraphlab_hotkeys_20.5_NEW.keymap2", "KeymapName" )
animgraphlab_hotkeys_20.5.keymap2is a default keymap from H20.5 that I manually saved. AnimGraphLab
Just in case, for someone still figuring out..
1. Open Houdini -> Alt+Shift+P (Python Shell).
2. Paste the code below replacing your old and new keymap paths. I keep them at Documents/houdini.
For Windows:import keymaputils keymaputils.importV1KeymapBindingsToKeymapFile( "C:\\Users\\<YOUR_USERNAME>\\Documents\\houdini20.5\\animgraphlab_hotkeys_20.5.keymap2", "C:\\Users\\<YOUR_USERNAME>\\Documents\\houdini20.5\\animgraphlab_hotkeys.keymap", "C:\\Users\\<YOUR_USERNAME>\\Documents\\houdini20.5\\animgraphlab_hotkeys_20.5_NEW.keymap2", "KeymapName" )animgraphlab_hotkeys_20.5.keymap2is a default keymap from H20.5 that I manually saved.
Ondrej mentioned about it: "to act as source from which we will look up the bindings in the old .keymap file and generate a new .keymap2 file".
In my case, all hotkeys were updated.
