Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
moduleInfo [-definition] [-listModules] [-moduleName string] [-path] [-version]
moduleInfo is NOT undoable, NOT queryable, and NOT editable.
Returns information on modules found by Maya.
module
definition, listModules, moduleName, path, version
Long name (short name) |
Argument types |
Properties |
|
-definition(-d)
|
|
|
|
Returns module definition file name for the module specified by the -moduleName parameter.
|
|
-listModules(-lm)
|
|
|
|
Returns an array containing the names of all currently loaded modules.
|
|
-moduleName(-mn)
|
string
|
|
|
The name of the module whose information you want to retrieve. Has to be used with either -definition / -path / -version flags.
|
|
-path(-p)
|
|
|
|
Returns the module path for the module specified by the -moduleName parameter.
|
|
-version(-v)
|
|
|
|
Returns the module version for the module specified by the -moduleName parameter.
|
|
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.
|
moduleInfo -listModules;
moduleInfo -definition -moduleName "myModule";
moduleInfo -path -moduleName "myModule";
moduleInfo -version -moduleName "myModule";