Nodes(bpy_struct)

base class — bpy_struct

class bpy.types.Nodes(bpy_struct)

Collection of Nodes

active

Active node in this tree

Type:Node
new(type)

Add a node to this node tree

Parameters:type (string, (never None)) – Type, Type of node to add (Warning: should be same as node.bl_idname, not node.type!)
Returns:New node
Return type:Node
remove(node)

Remove a node from this node tree

Parameters:node (Node, (never None)) – The node to remove
clear()

Remove all nodes from this node tree

classmethod bl_rna_get_subclass(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The RNA type or default when not found.
Return type:bpy.types.Struct subclass
classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The class or default when not found.
Return type:type

Inherited Properties

Inherited Functions

References