Home Technical Talk

Blender's select all \ deselect for Maya

RN
sublime tool
Offline / Send Message
RN sublime tool
I like this hotkey in Blender, "select all" (A). It toggles the current selection:
- If you have something selected, it deselects all.
- If nothing is selected, it selects all.

In MEL, it seems this is done like this:
if ( size( `ls -selection` ) == 0 )
    MTselAll;
else
    select -cl;
Useful for deselecting components, instead of having to click away in the viewport.

To bind a MEL script to a hotkey in Maya:
- Versions above and including 2016, using the Runtime Command Editor tab in the Window -> Settings/Preferences -> Hotkey Editor window, copying that code.
- Versions below 2016 I think, follow this (at the bottom of that post).
Sign In or Register to comment.