Command Documentation

 

The MEL Command Reference online documentation describes each command, providing information regarding usage, syntax, return values, and examples. It lists the commands in alphabetical order and by function.

 

After you become familiar with MEL command syntax, keep in mind that you can display a list of valid flags for a command by entering help followed by the command name in the Script Editor.

 

Example

help move;

 

 

The MAXScript Reference can be invoked from within the MAXScript Editor. Highlighting a keyword you need help on and pressing F1 will open the MAXScript Reference, automatically enter the keyword in the Index tab search field and navigate to the reference page describing the syntax, return values and examples.

 

(You can also open the Reference from Main Menu > Help > MAXScript Reference... and navigate manually).

 

In addition, MAXScript provides a range of so-called Inspector functions which let you list properties and methods of existing objects.

These functions include

·       show (showProperties) - displays a list of all properties, methods and actions available for the argument

·       help (apropos) - displays a list of all values including variables, functions and classes that include the argument string

·       showInterfaces - displays the interfaces available for the object passed as argument

·       showInterface - displays the properties and methods of the Interface passed as argument

 

Note the Differences:

·       The command help in MEL shows the valid flags for the supplied command.

·       The command help in MXS is a shortcut alias of the apropos command. It behaves differently.