# Create Independent Tag - Duct Tags

**URL:** <https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677>\
**Category:** Revit\
**Created:** [October 10, 2019, 6:35pm UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677 "2019-10-10T18:35:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![HGC-Jchandler](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@HGC-Jchandler](https://forum.dynamobim.com/u/HGC-Jchandler)\
**Post date:** [October 10, 2019, 6:35pm UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677/1 "2019-10-10T18:35:59Z")

</div>

Trying to automate tag creation for Ducts in Revit 2019 using the following script. When I run it, i’m getting dots instead of tags on each duct.

 ![tag_script](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/a/ba37e1629941e278974184f48197803cf98d0899.png)

---

<div class="post-metadata">

**Author:** ![HGC-Jchandler](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@HGC-Jchandler](https://forum.dynamobim.com/u/HGC-Jchandler)\
**Post date:** [October 10, 2019, 6:36pm UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677/2 "2019-10-10T18:36:34Z")

</div>

![result](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/6/e63579339347fe1d67983f98b26fbf6b6beedc4f.png)

---

<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:** [October 10, 2019, 7:29pm UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677/3 "2019-10-10T19:29:40Z")

</div>

Hi,

You forget to connect the _All Elements of Category_ output to the _elements_ input of_Create Independent Tag_.  
The longest lacing isn’t necessary.

---

<div class="post-metadata">

**Author:** ![HGC-Jchandler](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@HGC-Jchandler](https://forum.dynamobim.com/u/HGC-Jchandler)\
**Post date:** [October 10, 2019, 7:38pm UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677/4 "2019-10-10T19:38:43Z")

</div>

Yes, thank you, I did catch that but it still isn’t working. I’m getting TypeError: Duct is not iterable.

 ![Not-Iterable](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/d/ed2a089e8ca2ff5e2ab569cf294e6c130d1a6b2b.png)

---

<div class="post-metadata">

**Author:** ![HGC-Jchandler](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@HGC-Jchandler](https://forum.dynamobim.com/u/HGC-Jchandler)\
**Post date:** [October 10, 2019, 7:55pm UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677/5 "2019-10-10T19:55:54Z")

</div>

I did change the lacing to shortest and had to remove and re-add the active view node but it does seem to be working now. Thanks.

---

<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:** [October 10, 2019, 8:37pm UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677/6 "2019-10-10T20:37:18Z")

</div>

No need for lacing or list level when you tag a view at a time.  
Here is an example :

 ![Tag%20Ducts](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/e/ce6a187451c2570207d34882050f3ef6e1ba5126.png)

---

<div class="post-metadata">

**Author:** ![mrathnakar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mrathnakar/32/83799_2.png) [@mrathnakar](https://forum.dynamobim.com/u/mrathnakar)\
**Post date:** [January 8, 2020, 5:39am UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677/7 "2020-01-08T05:39:55Z")

</div>

Hi ,  
thank you.

i got the tags with help of this script.  
But. in Output list am getting null.  
I need the list of tags which you got in you script.

any modifications required to it.

Please help me!  
thank you in advance!

attached with images of tags and output list.

 ![dynamo](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/c/fc599c441c5a2389341755a4b8373d7e85a1cf15.jpeg) ![tag](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/0/103c8ea32bbaad77aaf9f88645c31849ad33850d.jpeg)

---

<div class="post-metadata">

**Author:** ![mrathnakar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mrathnakar/32/83799_2.png) [@mrathnakar](https://forum.dynamobim.com/u/mrathnakar)\
**Post date:** [January 8, 2020, 6:35am UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677/8 "2020-01-08T06:35:17Z")

</div>

List is getting for Current Model Elements.  
But for Linked elements we are not getting the List Output.

 ![link & Current](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/a/fa565756213cbdae2eed63e6697f17d184006086.jpeg)

---

<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 8, 2020, 7:17am UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677/9 "2020-01-08T07:17:13Z")

</div>

Hi,

See this post for a workaround with the _Collect.ElementsInView_ node in the Spring package to collect the independent tags.

> [@Create Independent Tag output result NULL](https://forum.dynamobim.com/t/create-independent-tag-output-result-null/42242/6):
>
> Don’t forget the order of operations. A passthrough node allows you to collect tags after they are created. I think it’s the same thing with the Create Tag node. You can select the tag of an element created in the current document with the Select Model Element node. [Select]

I don’t have a solution to improve the node for now.

---

<div class="post-metadata">

**Author:** ![mrathnakar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mrathnakar/32/83799_2.png) [@mrathnakar](https://forum.dynamobim.com/u/mrathnakar)\
**Post date:** [January 8, 2020, 10:09am UTC](https://forum.dynamobim.com/t/create-independent-tag-duct-tags/41677/10 "2020-01-08T10:09:25Z")

</div>

Thank you @Alban_de_Chasteigner.

i got what i am looking for.

Have a good Day.
