Checking where a procedure comes from

 
 
 

The whatIs command returns a string indicating whether the argument is a command, a procedure, a script, or is unknown. If you give it a script name, it will return the path of the script.

This is useful if you suspect that Maya is using the wrong script and you want to double-check.

For example:

whatIs test.mel;
// Result: Script found in: ./test.mel //

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License