Go to: Synopsis. Return value. Keywords. Flags. MEL examples.


format [-stringArg string]

format is NOT undoable, NOT queryable, and NOT editable.

This command takes a format string, where the format string contains format specifiers. The format specifiers have a number associated with them relating to which parameter they represent to allow for alternate ordering of the passed-in values for other languages by merely changing the format string

Return value



format, string


Long name (short name) Argument types Properties
-stringArg(-s) string createmultiuse
Specify the arguments for the format string.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// The mel script below returns the sentence
//     "Display all lambert and blinn nodes."
format -stringArg "lambert" -stringArg "blinn" "Display all ^1s and ^2s nodes.";