LNXSDK/leenkx/blender/lnx/logicnode/scene/LN_remove_collection.py
2025-01-22 16:18:30 +01:00

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')