Go to: Synopsis. Return value. Keywords. MEL examples.
melInfo
melInfo is NOT undoable, NOT queryable, and NOT editable.
This command returns the names of all global MEL procedures that are currently defined as a string array. The user can query the definition of each MEL procedure using the "whatIs" command.string[] | procedure names |
// Query informaton about every MEL procedure and command defined. For // each procedure/command, use the whatIs command to print a summary. // Output the result to a file on disc. // $fileName = ( `internalVar -userTmpDir` + "mel.tmp" ); $fileId=`fopen $fileName "w"`; string $procs[] = `melInfo`; int $i; for ( $i = 0; $i < size( $procs ); $i++ ) { string $s = `whatIs $procs[$i]`; fprint $fileId ( $procs[$i] + " : " + $s + "\n" ); } fclose $fileId;