Home Coding, Scripting, Shaders

Select surface objects script(Maya)

Kalugin89
polycounter lvl 7
Offline / Send Message
Kalugin89 polycounter lvl 7
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?
Sign In or Register to comment.