NodeLinks(bpy_struct)¶
base class — bpy_struct
- class bpy.types.NodeLinks(bpy_struct)¶
Collection of Node Links
- new(input, output, *, verify_limits=True, handle_dynamic_sockets=False)¶
Add a node link to this node tree
- Parameters:
input (
NodeSocket
, (never None)) – The input socketoutput (
NodeSocket
, (never None)) – The output socketverify_limits (boolean, (optional)) – Verify Limits, Remove existing links if connection limit is exceeded
handle_dynamic_sockets (boolean, (optional)) – Handle Dynamic Sockets, Handle node specific features like virtual sockets
- Returns:
New node link
- Return type:
- remove(link)¶
remove a node link from the node tree
- Parameters:
link (
NodeLink
, (never None)) – The node link to remove
- clear()¶
remove all node links from the node tree
- classmethod bl_rna_get_subclass(id, default=None)¶
- Parameters:
id (str) – 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 (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type