forked from LeenkxTeam/LNXSDK
15 lines
454 B
Python
15 lines
454 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
class RemoveGroupNode(LnxLogicTreeNode):
|
|
"""Removes the given collection from the scene."""
|
|
bl_idname = 'LNRemoveGroupNode'
|
|
bl_label = 'Remove Collection'
|
|
lnx_section = 'collection'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketAction', 'In')
|
|
self.add_input('LnxStringSocket', 'Collection')
|
|
|
|
self.add_output('LnxNodeSocketAction', 'Out')
|