I need a slot to connect multiple links. In the API is an attribute of links to the type of collections:
links = self.inputs ['ListAttrs']. links
for link in links:
...
How can I connect several links in the input node?
I need a slot to connect multiple links. In the API is an attribute of links to the type of collections:
links = self.inputs ['ListAttrs']. links
for link in links:
...
How can I connect several links in the input node?
Links are created using node_tree.links.new:
new(input, output, verify_limits=True)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 exceededReturns: New node link
Return type: NodeLink