# How to assign a hotkey to 'set origin' context menu?

How can I assign a shortcut to popup the following menu when pressed?

I have looked around and I found that I can right click and "Assign shortcut" on other menus, like this example on pivot point, but I can't do it on that submenu.

Also, I tried the method of looking on the Python Console to find out the value of that menu, but there's no value on that one (just on the sub choices).

• It's already part of Object context menu (Select the object, Right-click > Set Origin). Is that fast enough for your purpose? – brockmann Aug 9 at 11:20
• I noticed that, but I was looking for a quicker way, like the "m" for move to collection that shows the menu without having to go through submenus. – Fabman Aug 9 at 11:22
• Yeah, get it. By looking through the ui code, you'll see that object.origin_set operator is called via Layout.operator_menu_enum(), not quite sure there is any way adding that to the keymap. In case there is no option you'll have to write a custom operator (addon) or wait until following "bug" is fixed: developer.blender.org/T65704 – brockmann Aug 9 at 11:50
• Ah!, Thanks!. I see, I though It was me that I couldn't find it. Although as you say, I wouldn't see that as a "bug" more like a "feature request". – Fabman Aug 9 at 11:54
• If you set the keymap to Blender 27X in the Preferences, you can find it under the name: Set Origin. Originally: ctrl+shift+alt+c. – FFeller Aug 9 at 16:00

Create a new key map item under 3D View > Object Non-modal and set the identifier to object.origin_set (bl_idname for Object.origin_set() operator). In order to match the definition of the hotkey in 2.7x, set the event to C and enable ShiftCtrl Alt for the modifier keys: