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
Newbutton.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 Commandbutton. A message should pop up, confirming that your runtime command has been saved.In the dropdown menu close to
Search BychooseRuntime Commandand write in the text field the name of the command you have just created.The command will appear in the
Custom Scriptslist.Doubleclick in the
HotKeycolumn and enter the key or the keys combination you have chosen before.Press the
Save and Closebutton.
Now you should be able to switch the Selection Highlighting option with your new hotkey.