from lnx.logicnode.lnx_nodes import * class SetSceneNode(LnxLogicTreeNode): """Sets the active scene.""" bl_idname = 'LNSetSceneNode' bl_label = 'Set Scene Active' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketAction', 'In') self.add_input('LnxDynamicSocket', 'Scene') self.add_output('LnxNodeSocketAction', 'Out') self.add_output('LnxNodeSocketObject', 'Root')