15 lines
540 B
Python
15 lines
540 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
class CreateCollectionNode(ArmLogicTreeNode):
|
|
"""Use to create a collection."""
|
|
bl_idname = 'LNAddGroupNode'
|
|
bl_label = 'Create Collection'
|
|
arm_version = 1
|
|
|
|
def init(self, context):
|
|
super(CreateCollectionNode, self).init(context)
|
|
self.add_input('ArmNodeSocketAction', 'In')
|
|
self.add_input('NodeSocketString', 'Collection')
|
|
self.add_output('ArmNodeSocketAction', 'Out')
|
|
|
|
add_node(CreateCollectionNode, category=PKG_AS_CATEGORY, section='collection')
|