# TextNote - get rotation

**URL:** <https://forum.dynamobim.com/t/textnote-get-rotation/65683>\
**Category:** Revit\
**Tags:** revit, python, dynamo\
**Created:** [June 30, 2021, 9:29am UTC](https://forum.dynamobim.com/t/textnote-get-rotation/65683 "2021-06-30T09:29:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![filip.kabelis](https://avatars.discourse-cdn.com/v4/letter/f/dc4da7/32.png) [@filip.kabelis](https://forum.dynamobim.com/u/filip.kabelis)\
**Post date:** [June 30, 2021, 9:29am UTC](https://forum.dynamobim.com/t/textnote-get-rotation/65683/1 "2021-06-30T09:29:29Z")

</div>

Hello, I’ve found topics here about rotating TextNotes, but i’d like to do the opposite - try and get values of rotated TextNotes.

So far I’ve found that TextNote class in API doesnt have property “Rotation” (it does have Position), but TextNoteOptions class does.

Being a python newb i’m asking what i’m doing wrong here 🙂

so far i’m getting AttributeError that there is no such attribute as Rotation…

```auto
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
doc = DocumentManager.Instance.CurrentDBDocument

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *

# Import ToDSType(bool) extension method
clr.AddReference("RevitNodes")
import Revit
clr.ImportExtensions(Revit.Elements)

#The inputs to this node will be stored as a list in the IN variable.
x = UnwrapElement(IN[0])
rot = []
for i in x:
	rot.append(i.Rotation)

#Assign your output to the OUT variable
OUT = rot

```

also i’ve tried this approach but that’s just freestyling at the moment

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/e/8e475305d8a332a18f171898d3473f283549d426.png)

---

<div class="post-metadata">

**Author:** ![filip.kabelis](https://avatars.discourse-cdn.com/v4/letter/f/dc4da7/32.png) [@filip.kabelis](https://forum.dynamobim.com/u/filip.kabelis)\
**Post date:** [June 30, 2021, 10:04am UTC](https://forum.dynamobim.com/t/textnote-get-rotation/65683/2 "2021-06-30T10:04:16Z")

</div>

Okay, seems I’ve found it - its BaseDirection property of TextNote class.

Case closed!

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/7/f73ce48c7eb910506956f324003a2e555fd730dc.png)
