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

15 lines
446 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 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')