Returns information on modules found by Maya.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
definition (d) | bool | ||
|
|||
listModules (lm) | bool | ||
|
|||
moduleName (mn) | unicode | ||
The name of the module whose information you want to retrieve. Has to be used with either -definition / -path / -version flags.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
path (p) | bool | ||
|
|||
version (v) | bool | ||
|
Derived from mel command maya.cmds.moduleInfo
Example:
import pymel.core as pm
pm.moduleInfo(listModules=True)
# Result: [u'mayatomr', u'substance'] #
pm.moduleInfo(definition=True, moduleName='myModule')
pm.moduleInfo(path=True, moduleName='myModule')
pm.moduleInfo(version=True, moduleName='myModule')