from lnx.logicnode.lnx_nodes import * class SpawnSceneNode(LnxLogicTreeNode): """Spawns the given scene.""" bl_idname = 'LNSpawnSceneNode' bl_label = 'Spawn Scene' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketAction', 'In') self.add_input('LnxDynamicSocket', 'Scene') self.add_input('LnxDynamicSocket', 'Transform') self.add_output('LnxNodeSocketAction', 'Out') self.add_output('LnxNodeSocketObject', 'Root')