# Text 0 - 90 - 180 - 270 Not so much

**URL:** <https://forum.dynamobim.com/t/text-0-90-180-270-not-so-much/45476>\
**Category:** Revit\
**Created:** [January 13, 2020, 8:57pm UTC](https://forum.dynamobim.com/t/text-0-90-180-270-not-so-much/45476 "2020-01-13T20:57:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronrumple](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/aaronrumple/32/195292_2.png) [@aaronrumple](https://forum.dynamobim.com/u/aaronrumple)\
**Post date:** [January 13, 2020, 8:57pm UTC](https://forum.dynamobim.com/t/text-0-90-180-270-not-so-much/45476/1 "2020-01-13T20:57:35Z")

</div>

Just a heads up on what Revit does with text and rotation.  
If you place text it goes on the sheet exactly horizontal and has a base vector of (1.0, 0, 0)  
If you use the rotate tool and rotate it to the 90, 180 or 270 snap angle - It isn’t -quite- 90, 180 or 270. It is off by 0.00000000000001

Even if you rotate it back to “horizontal” it is still off by 0.00000000000001

---

<div class="post-metadata">

**Author:** ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)\
**Post date:** [January 13, 2020, 9:16pm UTC](https://forum.dynamobim.com/t/text-0-90-180-270-not-so-much/45476/2 "2020-01-13T21:16:28Z")

</div>

Welcome to the wonderful world of double precision floats and conversion between radians (Revits internal unit for angles) and degrees. When the unit conversion occurs, you lose fractional accuracy and there’s not a lot you can do about it other than either work directly with radians (so that means only working with the Revit API) or just round by a dp which always removes the inaccuracy.

---

<div class="post-metadata">

**Author:** ![aaronrumple](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/aaronrumple/32/195292_2.png) [@aaronrumple](https://forum.dynamobim.com/u/aaronrumple)\
**Post date:** [January 13, 2020, 10:08pm UTC](https://forum.dynamobim.com/t/text-0-90-180-270-not-so-much/45476/3 "2020-01-13T22:08:03Z")

</div>

I understand the issue. I’m just surprised that Autodesk didn’t provide themselves a way to snap to exact values and decided to do their own “close enough” programing. It would be simple if one could directly set the vector for the text based direction rather than doing a bunch of math and rounding number.

---

<div class="post-metadata">

**Author:** ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)\
**Post date:** [January 13, 2020, 10:26pm UTC](https://forum.dynamobim.com/t/text-0-90-180-270-not-so-much/45476/4 "2020-01-13T22:26:37Z")

</div>

There’s not a lot they can do about it as its a limitation of modern day computer architecture…
