Go to: Synopsis. Return value. Keywords. Flags. Python examples.
getModulePath([moduleName=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
getModulePath is NOT undoable, NOT queryable, and NOT editable.
Returns the module path for a given module name.| string |
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
moduleName(mn)
|
string
|
|
||
|
||||
import maya.cmds as cmds cmds.getModulePath(moduleName='myModule')