# Trouble with creating annotations

**URL:** <https://forum.dynamobim.com/t/trouble-with-creating-annotations/28113>\
**Category:** Revit\
**Tags:** archi-lab, fabrication, dynamo\
**Created:** [November 6, 2018, 4:06pm UTC](https://forum.dynamobim.com/t/trouble-with-creating-annotations/28113 "2018-11-06T16:06:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![L-Vettz](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@L-Vettz](https://forum.dynamobim.com/u/L-Vettz)\
**Post date:** [November 6, 2018, 4:06pm UTC](https://forum.dynamobim.com/t/trouble-with-creating-annotations/28113/1 "2018-11-06T16:06:37Z")

</div>

I’m having problems getting elements to tag with dynamo. I am trying to place tags on fabrication parts. I can’t get either the Tag.ByElement OOTB node or the Create Annotation Tag archilab node to work. The OOTB node just errors out and the archilab node reads back

File “\< string \>”, line 130, in \< module \>  
AttributeError: ‘Document’ object has no attribute ‘NewTag’

I think it may be because I am trying to tag fabrication parts, which a not .rfa families. Has anybody had any success using either of these nodes with fabrication parts? I think my graph is set up correctly, am I missing something?

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

(ignore that both tag nodes are hooked up at once, I just did this to show both errors in one image, the behave the same when only one tagging node is hooked up)

---

<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:** [November 6, 2018, 4:09pm UTC](https://forum.dynamobim.com/t/trouble-with-creating-annotations/28113/2 "2018-11-06T16:09:04Z")

</div>

Hi,

Which version of Revit do you use ?  
NewTag has been replaced by IndependantTag in the latest version of the Revit API.

---

<div class="post-metadata">

**Author:** ![L-Vettz](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@L-Vettz](https://forum.dynamobim.com/u/L-Vettz)\
**Post date:** [November 6, 2018, 4:28pm UTC](https://forum.dynamobim.com/t/trouble-with-creating-annotations/28113/3 "2018-11-06T16:28:19Z")

</div>

1. 

I switched to Create Independent Tag from GeniusLoci and it placed the tags. The Tag.ByElement node started working too. (which doesn’t make sense to me why it would.) I think it will do what I want now. I’m going to meddle with it and make sure it continues to work as expected after I keep tweaking the graph. Then I’ll come back and mark this as a solution. Thanks.

---

<div class="post-metadata">

**Author:** ![sayeem112](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@sayeem112](https://forum.dynamobim.com/u/sayeem112)\
**Post date:** [September 3, 2021, 1:55am UTC](https://forum.dynamobim.com/t/trouble-with-creating-annotations/28113/4 "2021-09-03T01:55:15Z")

</div>

Hi Guys. I am new to dynamo and I tried to write the same dynamo. I ended up with different nodes such as boundingbox.midpoint and create tag. Also there is an issue with select model element. Can anyoine guide me though this

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/4/24435f0920fe3b9c50a9a9f973abcc61dbd74252.png)
