# Get Tag scale mode

**URL:** <https://forum.inductiveautomation.com/t/get-tag-scale-mode/102194>\
**Category:** Ignition\
**Created:** [February 11, 2025, 6:14pm UTC](https://forum.inductiveautomation.com/t/get-tag-scale-mode/102194 "2025-02-11T18:14:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vrautomation](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/vrautomation/32/11155_2.png) [@vrautomation](https://forum.inductiveautomation.com/u/vrautomation)\
**Post date:** [February 11, 2025, 6:14pm UTC](https://forum.inductiveautomation.com/t/get-tag-scale-mode/102194/1 "2025-02-11T18:14:35Z")

</div>

Hello,

I'm doing a script to export a bunch of tag and eventually write an excel file that will be imported in Pi.

I use system.tag.browse to get the list of tags. Then with system.tag.readBlocking I'm getting the opcitempath.

But some tags are scaled. How can I read the tag Scale Mode? Not that the Scale Mode can be overwritten from the original UDT.

Thanks.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 11, 2025, 6:17pm UTC](https://forum.inductiveautomation.com/t/get-tag-scale-mode/102194/2 "2025-02-11T18:17:42Z")

</div>

Try appending ".scaleMode" to the tag path and passing it to `system.tag.readBlocking`.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 11, 2025, 6:24pm UTC](https://forum.inductiveautomation.com/t/get-tag-scale-mode/102194/3 "2025-02-11T18:24:23Z")

</div>

Consider using `system.tag.query()` instead of `system.tag.browse()`. Include all of the properties of interest in your query dictionary. Then you don't need a follow-up `system.tag.readBlocking()`, and the whole thing will run blistering fast.

---

<div class="post-metadata">

**Author:** ![vrautomation](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/vrautomation/32/11155_2.png) [@vrautomation](https://forum.inductiveautomation.com/u/vrautomation)\
**Post date:** [February 11, 2025, 6:33pm UTC](https://forum.inductiveautomation.com/t/get-tag-scale-mode/102194/4 "2025-02-11T18:33:46Z")

</div>

It's not working. I tried both scaleMode and ScaleMode...

I'll take a look at the Phil's idea.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 11, 2025, 6:36pm UTC](https://forum.inductiveautomation.com/t/get-tag-scale-mode/102194/5 "2025-02-11T18:36:12Z")

</div>

The designer's tag report tool will write the beginning of the script for you. Literally.

---

<div class="post-metadata">

**Author:** ![vrautomation](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/vrautomation/32/11155_2.png) [@vrautomation](https://forum.inductiveautomation.com/u/vrautomation)\
**Post date:** [February 11, 2025, 8:23pm UTC](https://forum.inductiveautomation.com/t/get-tag-scale-mode/102194/6 "2025-02-11T20:23:51Z")

</div>

Thank you Phil. This is the way to go.

I think I'll never user system.tag.browser again...
