NodeLinks(bpy_prop_collection)
base classes — bpy_prop, bpy_prop_collection
- class bpy.types.NodeLinks(bpy_prop_collection)
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) – The input socket (never None)output (
NodeSocket) – The output socket (never None)verify_limits (bool) – Verify Limits, Remove existing links if connection limit is exceeded (optional)
handle_dynamic_sockets (bool) – Handle Dynamic Sockets, Handle node specific features like virtual sockets (optional)
- Returns:
New node link
- Return type:
- remove(link)
remove a node link from the node tree
- Parameters:
link (
NodeLink) – The node link to remove (never None)
- clear()
remove all node links from the node tree
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type