forked from LeenkxTeam/LNXSDK
16 lines
489 B
Python
16 lines
489 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
class CreateCollectionNode(LnxLogicTreeNode):
|
||
|
"""Creates a collection."""
|
||
|
bl_idname = 'LNAddGroupNode'
|
||
|
bl_label = 'Create Collection'
|
||
|
lnx_section = 'collection'
|
||
|
lnx_version = 2
|
||
|
|
||
|
def lnx_init(self, context):
|
||
|
self.add_input('LnxNodeSocketAction', 'In')
|
||
|
self.add_input('LnxStringSocket', 'Collection')
|
||
|
self.add_input('LnxNodeSocketArray', 'Objects')
|
||
|
|
||
|
self.add_output('LnxNodeSocketAction', 'Out')
|