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:
PythonGroupNodeClass 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.
-
__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.
-
hideNodegraphGroupControls()¶ Remove the group-like controls for this node from the Node Graph tab. Should be called from the init method.
-
isChildNodePersistent(node)¶ Parameters: node ( NodegraphAPI.Node) – A child node of the SuperTool.Return type: boolReturns: True if the child node should be saved to the Katana document, otherwise False.
-
polish()¶ This method is automatically called on the SuperTool after it has finished loading and initialization. It will only be called once.
-
classmethod
superToolRegistered()¶
-