from lnx.logicnode.lnx_nodes import * class GetObjectGroupNode(LnxLogicTreeNode): """Get Object collection.""" bl_idname = 'LNGetObjectGroupNode' bl_label = 'Get Object Collection' lnx_section = 'collection' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketObject', 'Object') self.add_output('LnxNodeSocketArray', 'Collection') self.add_output('LnxIntSocket', 'Length')