from lnx.logicnode.lnx_nodes import * class SetMapValueNode(LnxLogicTreeNode): """Set Map Value. @input In: Set the map. @input Map: Map to set values. @input Key: Key to be set. @input Value: Value for the key. """ bl_idname = 'LNSetMapValueNode' bl_label = 'Set Map Value' lnx_version = 1 def init(self, context): self.add_input('LnxNodeSocketAction', 'In') self.add_input('LnxDynamicSocket', 'Map') self.add_input('LnxDynamicSocket', 'Key') self.add_input('LnxDynamicSocket', 'Value') self.add_output('LnxNodeSocketAction', 'Out')