Maya Procedure Written By Mel

hey guys:

now i know that lots of mel procedures do great job, and i want to know where to find them.

for example: the mel procedure, which can transform objects from the localSpace to worldSpace
is written by maya programme. And i look for its name,parameters,how to use it?

Does maya have the help files for these mel procedure, what is its path?

any help would be appreciate.

QUOTE(f117f117f11 @ 03/11/07, 01:36 AM) [snapback]261985[/snapback]
for example: the mel procedure, which can transform objects from the localSpace to worldSpace
is written by maya programme. And i look for its name,parameters,how to use it?

the xform command?

type

help xform;

into the script editor to get a quick ref, or

help -doc xform;

to get the full html help. If the mel command is a core part of maya (ie, written in C++, not as a mel script) then that command should work for all of those commands. If help fails to return anything, then do a find in files (any decent text editor should be able to do that) in the C:\Program Files\Autodesk\Maya8.5\scripts directory and it should be located there (normally has some form of docs above the procedure).

The following bit of code will dump all mel commands to C:/all_mel_help.txt

CODE
$fp = fopen("C:/all_mel_help.txt", "w");

$commands = help -list "*";

string $cmd;
for ($cmd in $commands) {
    string $help = help $cmd;
    fprint $fp $help;
}

fclose($fp);