# Maya Procedure Written By Mel

**URL:** https://forum.highend3d.com/t/maya-procedure-written-by-mel/2379
**Category:** Maya
**Tags:** mel
**Created:** [March 11, 2007, 9:36am UTC](https://forum.highend3d.com/t/maya-procedure-written-by-mel/2379 "2007-03-11T09:36:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![f117f117f117677](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/4da419/32.png) [@f117f117f117677](https://forum.highend3d.com/u/f117f117f117677)
#### Post date: [March 11, 2007, 9:36am UTC](https://forum.highend3d.com/t/maya-procedure-written-by-mel/2379/1 "2007-03-11T09:36:31Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![rob-bateman](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/r/4491bb/32.png) [@rob-bateman](https://forum.highend3d.com/u/rob-bateman)
#### Post date: [March 12, 2007, 5:06pm UTC](https://forum.highend3d.com/t/maya-procedure-written-by-mel/2379/2 "2007-03-12T17:06:19Z")

</div>

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) {  
&nbsp;&nbsp;&nbsp;&nbsp;string $help = `help $cmd`;  
&nbsp;&nbsp;&nbsp;&nbsp;fprint $fp $help;  
}

fclose($fp);
