0
$\begingroup$

How can I take that bpy.data.scenes python line and make a keybind of it?

enter image description here

$\endgroup$
  • $\begingroup$ Can copy from the top console but how does one pass it as the keybind? $\endgroup$ – Sensimas Jan 20 '17 at 10:24
  • 1
    $\begingroup$ I would have marked this a duplicate of this, but it may have been non-obvious that Ctrl+Tab also works in the UV/Image-Editor. $\endgroup$ – Ray Mairlot Jan 20 '17 at 12:25
  • $\begingroup$ Buttons get asigned using the method you've provided, but nothing happens when I press them. What is causing this ? $\endgroup$ – Sensimas Jan 20 '17 at 12:39
  • 1
    $\begingroup$ What keyboard keys did you assign them to? It's possible the keys you chose are already in use. I suggest combining Shift, Alt or Ctrl with them to make the shortcut unique. In my example I assigned Shift+Q to Vertex mode. $\endgroup$ – Ray Mairlot Jan 20 '17 at 13:20
  • $\begingroup$ I just tested 1, 2, 3, and 4 for the selection modes and they worked, so it should work for you. $\endgroup$ – Ray Mairlot Jan 20 '17 at 13:32
2
$\begingroup$

There is already a shortcut for the UV selection type menu, it is Ctrl+Tab.

After pressing Ctrl+Tab you can right-click on Vertex, Edge, Face or Island and choose Add Shortcut.

This is much easier than trying to do it via the key-bindings editor as you can see from the complexity of the new shortcut after it is added:

enter image description here

To make these new shortcuts appear in all files go to File> User Preferences> Save User Settings.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.