from lnx.logicnode.lnx_nodes import * class InverseNode(LnxLogicTreeNode): """Activates the output if the input is not active.""" bl_idname = 'LNInverseNode' bl_label = 'Invert Output' lnx_section = 'flow' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketAction', 'In') self.add_output('LnxNodeSocketAction', 'Out')