def loadAllMayaPlugins():
    '''will load all maya-installed plugins

    WARNING: tthe act of loading all the plugins may crash maya, especially if
    done from a non-GUI session
    '''
    import logging
    logger = logging.getLogger('pymel')
    logger.debug("loading all maya plugins...")
    for plugin in mayaPlugins():
        try:
            maya.cmds.loadPlugin( plugin, quiet=1 )
        except __HOLE__: pass
    logger.debug("...done loading all maya plugins")
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/pymel/api/plugins.py/loadAllMayaPlugins