
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I am trying to create a userSetup.mel file that when Maya starts up it has only the Curve selection mask turned on and all the others turned off. As an animator, I have to do this manually every single time I start Maya so I figured it should be relatively straightforward to just use a userSetup.mel that will do this for me. Unfortunately, I am not having any luck getting it to work. I am not a programmer and just used the Echo All commands in the Script Editor to copy and paste code. This is what I have:
// Turns of all pick masks
setObjectPickMask "All" 0;
updateObjectSelectionMasks;
updateComponentSelectionMasks;
dR_selTypeChanged("");;
// Turns on Curves pick mask
setObjectPickMask "Curve" true;
updateObjectSelectionMasks;
updateComponentSelectionMasks;
dR_selTypeChanged("");
Any help on getting this to work would be greatly appreciated!! Thanks in advance!
Solved! Go to Solution.