Package autodesk_toxik :: Module pimgr
[frames] | no frames]

Module pimgr

Plug-in manager module.

This module provides access to the plug-in manager. The plug-in manager is responsible for querying and loading various Composite plug-in tool (.dltool), module (.dlmodule), view (.dlview) and file format (.dlformat) libraries.

The functions provided by this module allow querying for the available plugins, managing the load path and loading desired plugins into the runtime system.

Plug-in Search Path

The default search paths for Composite plug-ins is controlled by the DL_PLUGINS_DIR environment variable.

Functions
 
list(path=None)
Lists all the plug-ins in the specified directory, or in the default plug-in search path if None is specified.
 
loadAllPlugins(pluginPath=None, verbose=False)
Convenience function that loads all the available plug-ins in the specified path or the default plug-in search path if None is specified.
Function Details

list(path=None)

 

Lists all the plug-ins in the specified directory, or in the default plug-in search path if None is specified.

Parameters:
  • path (str or list of str)

loadAllPlugins(pluginPath=None, verbose=False)

 

Convenience function that loads all the available plug-ins in the specified path or the default plug-in search path if None is specified.

Parameters:
  • pluginPath (str)
  • verbose (bool)