Files
LNXSDK/leenkx/blender/lnx/logicnode/scene/LN_get_object_collection.py

15 lines
448 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class GetObjectGroupNode(LnxLogicTreeNode):
"""Get Object collections."""
2025-01-22 16:18:30 +01:00
bl_idname = 'LNGetObjectGroupNode'
bl_label = 'Get Object Collections'
2025-01-22 16:18:30 +01:00
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')