In your script editor, switch on ECHO ALL COMMANDS, to show MAYA's script calls when you run them from a menu and so on, it's a quick and handy way to find out mel script commands easily. Once you know the command your looking for, you can then find it within the MEL Command Reference ( in the HELP files ), where you will…