Hello. I am working on a custom nodes addon, and I have a node socket definition:
class MultiSocket(NodeSocket): '''Multi Socket Example''' bl_idname = 'MultiSocket' bl_label = "Multi Socket" color = (1,1,1,1) def __init__(self): self.link_limit=4095 # the max def draw_color(self, context, node): return self.color def draw(self, context, layout, node, text): layout.label(text=text)
self.link_limit higher than
True, and it will even accept up to the maximum number of connections… but it doesn’t change the appearance of the socket. Is this a bug?
I spent some time messing with the Join Geometry node to see what it is like… and it’s confusing. It doesn’t seem to have any special properties, and its
1, even though you can just keep on adding links to it forever.
I would like to use the multi-input node feature for my addon, and I can do it without the nicer UI, but I would like to make it look pretty. Any help would be appreciated. Thanks!