nuke.plugins
- nuke.plugins(switches=0, *pattern) list of str
Returns a list of every loaded plugin or every plugin available. By default each plugin is returned as the full pathname of the plugin file.
You can give a glob-style matching pattern and only the plugins whose filenames (not path) match the pattern will be returned. You can give more than one glob pattern if desired.
You can also put options before the glob patterns. Currently supported:
- ALL Return all plugins in each of the plugin_path() directories,
rather than only the currently loaded plugins.
- NODIR Just put the filenames in the list, not the full path. There
may be duplicates.
If you don’t specify any switches, the default behaviour is to return a list with the full paths of all loaded plugins.
- Parameters:
switches – Optional parameter. Bitwise OR of nuke.ALL, nuke.NODIR.
pattern – Zero or more glob patterns.
- Returns:
List of plugins.