from lnx.logicnode.lnx_nodes import * class SplitStringNode(LnxLogicTreeNode): """Splits the given string.""" bl_idname = 'LNSplitStringNode' bl_label = 'Split String' lnx_version = 1 def lnx_init(self, context): self.add_output('LnxNodeSocketArray', 'Array') self.add_input('LnxStringSocket', 'String') self.add_input('LnxStringSocket', 'Split')