Hi all! I want to make a script in Maya for switching Select surface objects command. Now i have two separate scripts for this:
setObjectPianckMask "Surface" true;
and
setObjectPickMask "Surface" false;
How to combine them into one so that modes can be switched at the press of a button?