pymel.mayautils

Utilities for getting Maya resource directories, sourcing scripts, and executing deferred.

These do not require initialization of maya.standalone

Functions

executeDeferred This is a wrap for maya.utils.executeDeferred.
getMayaAppDir Get the path to the current user’s Maya application directory.
getMayaLocation Get the path to the Maya install directory.
getUserPrefsDir Get the prefs directory below the Maya application directory
getUserScriptsDir Get the scripts directory below the Maya application directory
recurseMayaScriptPath Given a path or list of paths, recurses through directories appending to the MAYA_SCRIPT_PATH environment variable any found directories containing mel scripts.
source Execute a python script.