Autodesk Maya - HotKey for Selection Highlighting
To add a new HotKey in Autodesk Maya to switch the Selection Highlighting
option in the Show
menu of the viewport follow this steps:
Go to
Windows > Settings/Preferences > HotKey Editor
.On the right side you can see a keyboard, showing which keys are already assigned.
Found an unassigned key or combination, go to Runtime Command Editor and press the
New
button.Choose a name for this command (e.g.
SelectionHighlighting
) and be sure that MEL is the selected language.Paste the following string in the text field:
Press the
Save Runtime Command
button. A message should pop up, confirming that your runtime command has been saved.In the dropdown menu close to
Search By
chooseRuntime Command
and write in the text field the name of the command you have just created.The command will appear in the
Custom Scripts
list.Doubleclick in the
HotKey
column and enter the key or the keys combination you have chosen before.Press the
Save and Close
button.
Now you should be able to switch the Selection Highlighting
option with your new hotkey.