pymel.mayautils.recurseMayaScriptPath

recurseMayaScriptPath(roots=[], verbose=False, excludeRegex=None, errors='warn')

Given a path or list of paths, recurses through directories appending to the MAYA_SCRIPT_PATH environment variable

Parameters:
roots

a single path or list of paths to recurse. if left to its default, will use the current MAYA_SCRIPT_PATH values

verobse : bool

verbose on or off

excludeRegex : str

string to be compiled to a regular expression of paths to skip. This regex only needs to match the folder name

Previous topic

pymel.mayautils.getMayaLocation

Next topic

pymel.mayautils.source

Core

Core Modules

Other Modules

This Page