Is there a MEL command to toggle the "joint xray" mode in the viewport? (so that I can set it as a shortcut)
int $v = `modelEditor -q -jointXray modelPanel4`; modelEditor -e -jointXray (!$v) modelPanel4;
Menu: Windows -> Settings -> HotKey Editor
Windows -> Settings -> HotKey Editor
Unroll: "Edit HotKeys for:" -> Custom Scripts.
On the right panel go to the tab Runtime Command Editor to create the script command. Then associate the shortcut on the left panel.
Runtime Command Editor
Menu:
Windows -> Settings -> HotKey Editor
Unroll: "Edit HotKeys for:" -> Custom Scripts.
On the right panel go to the tab
Runtime Command Editor
to create the script command. Then associate the shortcut on the left panel.