# system.tag.editTag overrides

**URL:** <https://forum.inductiveautomation.com/t/system-tag-edittag-overrides/16281>\
**Category:** Ignition\
**Created:** [December 11, 2017, 11:04am UTC](https://forum.inductiveautomation.com/t/system-tag-edittag-overrides/16281 "2017-12-11T11:04:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esn](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@Esn](https://forum.inductiveautomation.com/u/Esn)\
**Post date:** [December 11, 2017, 11:04am UTC](https://forum.inductiveautomation.com/t/system-tag-edittag-overrides/16281/1 "2017-12-11T11:04:55Z")

</div>

Hi,

How do I find out what the correct syntax for the overrides is?

I need to override the EngUnit and the scaling of a tag.

I can’t seem to find the syntax for setting the scaled mode and raw/scaled min/max parameters.

I need syntax for the code below. Bold area indicate the syntax I’m missing.

system.tag.editTag(tagPath = “tags/testUDTTag1”, overrides={“Tag1”:{“EngHigh”:150, **“ScaledMode”:“Linear”, “RawHigh”:100, “RawLow”:0, “ScaledHigh”:10, “ScaledLow”:0** }})

Thanks

Edit:  
Ok, so I think I found the answer here:  
[https://docs.inductiveautomation.com/display/DOC/Tag+Attributes](https://docs.inductiveautomation.com/display/DOC/Tag+Attributes)  
Only remaining question is what integer value I need to set “ScaleMode” to for linear scaling - a few tests will tell me that.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [December 11, 2017, 3:39pm UTC](https://forum.inductiveautomation.com/t/system-tag-edittag-overrides/16281/2 "2017-12-11T15:39:45Z")

</div>

```auto
public enum ScaleMode {
      Off(0),
      Linear(1),
      SquareRoot(2),
      ExponentialFilter(3),
      BitInversion(4);}

```
