Supercharged H19 extension (TouchDesigner Style)

   13035   65   6
User Avatar
Member
13 posts
Joined: May 2020
Offline
I lost the function of dropdown menus while i try to disable overlay network editor. Which files and names contain this dropdown function so i can bring it back?
User Avatar
Member
3289 posts
Joined: Feb. 2012
Offline
utility_hotkey_system.py
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

patreon.com/animatrix | vimeo.com/animatrix3d
User Avatar
Member
13 posts
Joined: May 2020
Offline
Is there a way to create custom hotkey.csv files for different desktops? Or maybe assign a hotkey to change hotkeys? I wanna be able to change my custom hotkeys to grooming tools when i do grooming and terrain tools when i do terrain. Is it possible to do this?
User Avatar
Member
3289 posts
Joined: Feb. 2012
Offline
omerlefaruk
Is there a way to create custom hotkey.csv files for different desktops? Or maybe assign a hotkey to change hotkeys? I wanna be able to change my custom hotkeys to grooming tools when i do grooming and terrain tools when i do terrain. Is it possible to do this?

Yes you can do this easily, you just have to create different CSV files and implement the logic to load different ones based on some mode that you can store for example.

Check utility_hotkey_system.py

def __load_actions():
    if showstatus:
        print ("Reloading hotkeys...")

    global __actions
    __actions = defaultdict(lambda: defaultdict(list))
    with open(hotkeysfile) as f:
        reader = csv.DictReader(f)
        for row in reader:
            for context in ("OBJECT", "SOP", "VOP", "DOP", "COP2", "CHOP", "SHOP", "DRIVER", "TOP", "LOP"):
                if row[context] != '':
                    __actions[context][row["Key Name"]].append(row[context])
__load_actions()

this.fs_watcher = QtCore.QFileSystemWatcher()
this.fs_watcher.addPath(hotkeysfile)
this.fs_watcher.fileChanged.connect(__load_actions)

showstatus = True
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

patreon.com/animatrix | vimeo.com/animatrix3d
User Avatar
Member
13 posts
Joined: May 2020
Offline
When i'm using Supercharge in 18.5 with ODTools, i can't use the hotkeys for creating nodes. What can be causes the problem? It does work on houdini 19
User Avatar
Member
3289 posts
Joined: Feb. 2012
Offline
Perhaps OdTools also override the nodegraph hooks? That would be my guess.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

patreon.com/animatrix | vimeo.com/animatrix3d
  • Quick Links