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