SuperTools

NodegraphAPI.RegisterSuperTool(name, superToolClass)

Register a new SuperTool. Give the name of the node and a class derived from SuperTool.

class NodegraphAPI.SuperTool

Bases: PythonGroupNode

Class used for super tool plugins. Each SuperTool instance is attached to a SuperTool delegate. The delegate is a set of functions that are presented as methods on the SuperTool instance.

__dict__ = dict_proxy({'__dict__': <attribute '__dict__' of 'SuperTool' objects>, '__module__': 'NodegraphAPI.SuperTool', 'superToolRegistered': <classmethod object at 0x7f60d00632b8>, 'polish': <function polish at 0x7f60d005faa0>, '__weakref__': <attribute '__weakref__' of 'SuperTool' objects>, 'hideNodegraphGroupControls': <function hideNodegraphGroupControls at 0x7f60d005fb18>, '__init__': <function __init__ at 0x7f60d005fa28>, '__doc__': 'Class used for super tool plugins. Each SuperTool instance is\n attached to a SuperTool delegate. The delegate is a set of functions\n that are presented as methods on the SuperTool instance.\n '})
__init__()

Called to initialize a newly created supertool node. This is not called for loading existing nodes. It must not call the base class constructor.

__module__ = 'NodegraphAPI.SuperTool'
__weakref__

list of weak references to the object (if defined)

hideNodegraphGroupControls()

Remove the group-like controls for this node from the Node Graph tab. Should be called from the init method.

polish()

This method is automatically called on the SuperTool after it has finished loading and initialization. It will only be called once.

classmethod superToolRegistered()