create shortcut for Snap Together Tool

create shortcut for Snap Together Tool

Anonymous
Not applicable
899 Views
2 Replies
Message 1 of 3

create shortcut for Snap Together Tool

Anonymous
Not applicable

Hello
How can i create shortcut for Snap Together Tool using Hotkey Editor because i searching more than one time about it inside Hotkey Editor but I could not find it

0 Likes
Accepted solutions (1)
900 Views
2 Replies
Replies (2)
Message 2 of 3

mrlafle
Participant
Participant
Accepted solution

Unfortunately there are some commands that cannot be found in the Hotkey Editor. I'm not sure why, but I do know of a quick fix.

 

  1. Open the hotkey editor.
  2. Click on the Runtime Command Editor tab above the keyboard diagram.
  3. Click on the "New" button. This lets you create a custom script to set to a hotkey.
  4. Give the custom script a name, like SnapTogether. The name can only have letters or underscores.
  5. Copy this line of code and paste it in the large text box where it says to enter your command. This is the code that Maya runs when you select the Snap Together Tool from the menu.
    setToolTo snapTogetherToolCtx;
  6. At the bottom-right corner of the Hotkey Editor, click Save Runtime Command.
  7. Now, in the "Edit Hotkeys For:" dropdown menu, choose Custom Scripts. You should find the new custom script you made, to which you can assign whatever hotkey you want. You can also search the name of your custom script and find it that way.
0 Likes
Message 3 of 3

Anonymous
Not applicable

Thank you so much for your help

0 Likes