# Automatic Tag

**URL:** <https://forum.dynamobim.com/t/automatic-tag/102976>\
**Category:** DesignScript\
**Tags:** dynamo\
**Created:** [July 22, 2024, 11:59pm UTC](https://forum.dynamobim.com/t/automatic-tag/102976 "2024-07-22T23:59:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijaya.kumarKS55G](https://avatars.discourse-cdn.com/v4/letter/v/e9a140/32.png) [@vijaya.kumarKS55G](https://forum.dynamobim.com/u/vijaya.kumarKS55G)\
**Post date:** [July 22, 2024, 11:59pm UTC](https://forum.dynamobim.com/t/automatic-tag/102976/1 "2024-07-22T23:59:43Z")

</div>

Hi All i am trying to create tag for element,Output are not shown.please explaine me what is the wrong in this simple script.

 ![image-1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/2/128fbde37c52d2c9d922f6c1d26d6cf9b53f6f97.png)

---

<div class="post-metadata">

**Author:** ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)\
**Post date:** [July 23, 2024, 12:17am UTC](https://forum.dynamobim.com/t/automatic-tag/102976/2 "2024-07-23T00:17:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vijaya.kumarKS55G](https://avatars.discourse-cdn.com/v4/letter/v/e9a140/32.png) [@vijaya.kumarKS55G](https://forum.dynamobim.com/u/vijaya.kumarKS55G)\
**Post date:** [July 23, 2024, 12:46am UTC](https://forum.dynamobim.com/t/automatic-tag/102976/3 "2024-07-23T00:46:24Z")

</div>

![image-2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/d/8d2c207e93bc3bde4d7a93573ba23176db961070.png)  
Hi @Mike.Buttery ,Thanks for the reply  
find the attached snap for your information. Still not getting output

---

<div class="post-metadata">

**Author:** ![pyXam](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/pyxam/32/163009_2.png) [@pyXam](https://forum.dynamobim.com/u/pyXam)\
**Post date:** [July 23, 2024, 12:58am UTC](https://forum.dynamobim.com/t/automatic-tag/102976/4 "2024-07-23T00:58:56Z")

</div>

You are missing too many inputs for the node to work.

View, leader etc etc…

---

<div class="post-metadata">

**Author:** ![Kai](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Kai](https://forum.dynamobim.com/u/Kai)\
**Post date:** [July 23, 2024, 1:34am UTC](https://forum.dynamobim.com/t/automatic-tag/102976/5 "2024-07-23T01:34:43Z")

</div>

I would think it should work with what you have…maybe check your tag and the element you are tagging is taggable in Revit as a test \>\>\>\>…

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/5/45a6e9b717fb458b8db9a64dba81893578d8eec8.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/1/9128ee59fc0a8e41b069a89a8cd690ce0b1d4bfe.png)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [July 23, 2024, 5:25am UTC](https://forum.dynamobim.com/t/automatic-tag/102976/6 "2024-07-23T05:25:42Z")

</div>

Hi if it a duct you will tag then try get a point on the location line as tag location…

 ![Skærmbillede 2024-07-23 072507](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/f/af2ca97d11aefd09f349f3d8834b6c5bcbff4768.jpeg)

---

<div class="post-metadata">

**Author:** ![vijaya.kumarKS55G](https://avatars.discourse-cdn.com/v4/letter/v/e9a140/32.png) [@vijaya.kumarKS55G](https://forum.dynamobim.com/u/vijaya.kumarKS55G)\
**Post date:** [July 23, 2024, 5:38am UTC](https://forum.dynamobim.com/t/automatic-tag/102976/7 "2024-07-23T05:38:55Z")

</div>

![image-3](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/2/f29ea2a8b18d7b6a0b8519d3246866bdc185488e.png)  
Hi @Kai ,thanks for the solution.

---

<div class="post-metadata">

**Author:** ![vijaya.kumarKS55G](https://avatars.discourse-cdn.com/v4/letter/v/e9a140/32.png) [@vijaya.kumarKS55G](https://forum.dynamobim.com/u/vijaya.kumarKS55G)\
**Post date:** [July 23, 2024, 5:39am UTC](https://forum.dynamobim.com/t/automatic-tag/102976/8 "2024-07-23T05:39:44Z")

</div>

Hi @sovitek ,  
Thanks for the response let me try this script as well.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [July 23, 2024, 5:42am UTC](https://forum.dynamobim.com/t/automatic-tag/102976/9 "2024-07-23T05:42:51Z")

</div>

yeah if its ducts or line location based 😉 but seems to work now with @Kai solution, please mark his solution 😉 if it works…
