Plugin

class cgp_maya_utils.scene.Plugin(name)

Bases: object

plugin object that manipulates a maya plugin

isAutoLoaded()

check if the plugin is autoLoaded

Returns:True : it is autoLoaded - False : it is not autoLoaded
Return type:bool
isLoaded()

check if the plugin is loaded

Returns:True : it is loaded - False : it is not loaded
Return type:bool
load()

load the plugin if it is not already loaded

name()

the name of the plugin

Returns:the name of the plugin
Return type:str
path()

the path of the plugin file

Returns:the path of the plugin file
Return type:cgp_generic_utils.files.File
unload(deleteNodes=False)

unload the plugin

Parameters:deleteNodes (bool) – True : plugin nodes are deleted before unload - False nodes are not deleted