--- title: "MapSet" ---
This is generated from the built in components of BuildMaster 2025.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Functions within your BuildMaster instance to see exactly what operations are available.

Updates the map element with the given key to a new value. If the existing key does not exist, it is added

Script usage:

MapSet(Map, Key, Value)

Parameters:

NameDescription
MapThe map.
KeyThe key to set.
ValueThe new value.