# Create and centre door tag annotations

**URL:** <https://forum.dynamobim.com/t/create-and-centre-door-tag-annotations/31009>\
**Category:** Revit\
**Tags:** revit, clockwork, archi-lab, python, dynamo\
**Created:** [January 22, 2019, 5:30am UTC](https://forum.dynamobim.com/t/create-and-centre-door-tag-annotations/31009 "2019-01-22T05:30:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dobbst01](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@dobbst01](https://forum.dynamobim.com/u/dobbst01)\
**Post date:** [January 22, 2019, 5:30am UTC](https://forum.dynamobim.com/t/create-and-centre-door-tag-annotations/31009/1 "2019-01-22T05:30:24Z")

</div>

Hi guys,

I am trying to write a script that is supposed to tag all doors in a project based on a selected family type and then center it in the middle of the door leaf.

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

I have started a script that will take the location of the annotation symbol highlighted above. I have used the Archi-lab package (create annotation node) however it is not working. Does anyone know why?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/b/9b4237d60a99d10be3cbb5ecd6e5103029eddf10.png)

Also, I am not sure how to go above centering the annotation symbol once it is placed. Does anyone have any ideas about doing this?

[PTW\_DoorTags.dyn](https://forum.dynamobim.com/uploads/short-url/7eEMY0HfrI7Rd4D030fdORZa9ty.dyn) (13.2 KB)

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [January 22, 2019, 6:05am UTC](https://forum.dynamobim.com/t/create-and-centre-door-tag-annotations/31009/2 "2019-01-22T06:05:36Z")

</div>

Hi @dobbst01,

You need as many points as elements.  
Connect Element.GetLocation to AllelementsOfCategory node.
