nuke.load

nuke.load(s) None

Load a plugin. You can force a certain plugin to load with this function. If the plugin has already been loaded nothing happens. If there is no slash in the name then the pluginPath() is searched for it. If there is a slash then the name is used directly as a filename, if it does not start with a slash the name is relative to the directory containing any plugin being currently loaded. If no filename extension is provided, it will try appending ‘.so’ (or whatever your OS dynamic library extension is) and finding nothing will also try to append ‘.tcl’ and ‘.py’.

Parameters:

s – Plugin name or filename.

Returns:

None

Raises:

RuntimeError – if the plugin couldn’t be loaded for any reason.