# Dynamo Read & Display wrong value

**URL:** <https://forum.dynamobim.com/t/dynamo-read-display-wrong-value/38183>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [July 11, 2019, 2:27am UTC](https://forum.dynamobim.com/t/dynamo-read-display-wrong-value/38183 "2019-07-11T02:27:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![santhorathi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/santhorathi/32/77151_2.png) [@santhorathi](https://forum.dynamobim.com/u/santhorathi)\
**Post date:** [July 11, 2019, 2:27am UTC](https://forum.dynamobim.com/t/dynamo-read-display-wrong-value/38183/1 "2019-07-11T02:27:57Z")

</div>

Dear Community,  
I want to get the “Outside Diameter” of a pipe from Revit.  
I used “Get parameter value by name” but it shows the wrong value.  
Actual Value is 152.4mm  
Dynamo Value is 0.5  
Please guide me to fix this issue.  
Attached graph & program for your kind review.

 ![OD](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/d/0de0028c9a23700d76042e25e2e90eac26b83bb6.png)  
[OD.dyn](https://forum.dynamobim.com/uploads/short-url/wNX9Im7B6Zz8AGE2LbAnPX7NC6a.dyn) (8.8 KB)

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [July 11, 2019, 2:38am UTC](https://forum.dynamobim.com/t/dynamo-read-display-wrong-value/38183/2 "2019-07-11T02:38:15Z")

</div>

This is a unit conversion issue. The .5 (6") is in feet, not mm. Just multiply your answer by 25.4 to get what your after

---

<div class="post-metadata">

**Author:** ![santhorathi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/santhorathi/32/77151_2.png) [@santhorathi](https://forum.dynamobim.com/u/santhorathi)\
**Post date:** [July 11, 2019, 2:48am UTC](https://forum.dynamobim.com/t/dynamo-read-display-wrong-value/38183/3 "2019-07-11T02:48:27Z")

</div>

Hi @SeanP,

Ya, you are correct.  
Thanks.

---

<div class="post-metadata">

**Author:** ![GavC](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavc/32/74854_2.png) [@GavC](https://forum.dynamobim.com/u/GavC)\
**Post date:** [July 11, 2019, 6:29am UTC](https://forum.dynamobim.com/t/dynamo-read-display-wrong-value/38183/4 "2019-07-11T06:29:50Z")

</div>

Even better than using \*, use this node.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/e/0e38c9b1c70acb703bd090183c81b2d18587c45b.jpeg)
