Is there a way to make a custom hotkey for specific functions? Like to solve my problem here: I’m working on a piece, its a replica and I have many references setup in some collections and I need to hide/unhide the collections all the time. I do it by hitting the relevant checkbox in the object browser list. Can I somehow hotkey that specific checkbox? If coding, IK how to code, but I do not know how to get console or script in blender, or at-least I need a ‘pointer’ to get started.
Asked
Active
Viewed 152 times
0
-
Press H to hide the collection. – susu Jan 29 '21 at 17:53
-
https://docs.blender.org/api/current/bpy.ops.object.html#bpy.ops.object.hide_collection – susu Jan 29 '21 at 17:56
-
Ahh cool ty for api docs, ill look at that stuff ty. Also, h to hide collection doesnt work when im in edit mode and cant select collection (and I want no touching mouse so no selecting). – Bada Bing Jan 29 '21 at 18:12
1 Answers
1
You can add a custom shortcut directly on most commands, using the assign Shortcut option.
In this case select the collection, press on the context menu (F3) look for the command and right click. A new menu will allow you to assign a shortcut directly.
susu
- 14,002
- 3
- 25
- 48
