from lnx.logicnode.lnx_nodes import * class SetMeshNode(LnxLogicTreeNode): """Sets the mesh of the given object.""" bl_idname = 'LNSetMeshNode' bl_label = 'Set Object Mesh' lnx_section = 'props' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketAction', 'In') self.add_input('LnxNodeSocketObject', 'Object') self.add_input('LnxDynamicSocket', 'Mesh') self.add_output('LnxNodeSocketAction', 'Out')