0

enter image description here

The specific command I'm trying to set is bpy.ops.object.origin_set() which sets the origin of an object which is bound to default to Ctrl +Shift+Alt +C

This doesn't work: enter image description here

AzulShiva
  • 835
  • 1
  • 15
  • 35
  • 1
    What is your actual goal? Creating a shortcut for Origin to 3D cursor without getting the menu? Search for origin and see how that's done. Your test doesn't work because you have use the identifier of the desired operator not the function() call. – brockmann Sep 30 '17 at 12:13
  • Nah I want the menu to pop up. How do I find the identifier? – AzulShiva Sep 30 '17 at 12:26
  • 1
    Go to User Preferences > Input and type origin... – brockmann Sep 30 '17 at 12:29
  • Yeah duh, in this case. What about Pivot center? Viewport shading? Interaction Mode? I'm coming from here: https://blender.stackexchange.com/questions/7878/how-do-i-find-the-technical-name-for-a-function-so-i-can-assign-a-hotkey-to-it – AzulShiva Sep 30 '17 at 13:28
  • 1
    See my edit here. Also consider that you can always right-click the relevant button within the UI to change the shortcut and notice that all previously registered shortcuts listed in User Preferences > Input as mentioned before... – brockmann Oct 02 '17 at 09:56

0 Answers0