# Tag Ducts on several views at once

**URL:** <https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994>\
**Category:** Revit\
**Tags:** revit\
**Created:** [February 4, 2022, 2:19pm UTC](https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994 "2022-02-04T14:19:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjkris](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@bjkris](https://forum.dynamobim.com/u/bjkris)\
**Post date:** [February 4, 2022, 2:19pm UTC](https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994/1 "2022-02-04T14:19:00Z")

</div>

Hi there all

I am trying to get Dynamo to tag all my ducts in specific views, that are more that 2000mm of length.

So now I have made a new graph to do this. It has found the ducts, that needs to be “tagged”, but, when I press “run” it just runs in the background, but it does not place the tags… !

Can anyone tell me what I am doing wrong?

Heres the Graph:

 ![Duct tags på flere tegninger på en gang_2022-02-04_03-14-19](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/1/31a20c20dbb782a4abe63bf2c362eebb53f725e7.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:** [February 4, 2022, 2:21pm UTC](https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994/2 "2022-02-04T14:21:47Z")

</div>

Hi @bjkris,

All your inputs are list of list so set the longest lacing on the _Create Tag_ node.  
Your version of the package seems really old, you should install the updates.

---

<div class="post-metadata">

**Author:** ![bjkris](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@bjkris](https://forum.dynamobim.com/u/bjkris)\
**Post date:** [February 7, 2022, 9:26am UTC](https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994/3 "2022-02-07T09:26:23Z")

</div>

Hi there Alban

I get this error after changing to “longest”

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

Any suggestions?

---

<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:** [February 7, 2022, 9:41am UTC](https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994/4 "2022-02-07T09:41:18Z")

</div>

Hi,

Which version of Revit, Do you use ?  
There are 2 Create Tags nodes : One for Revit prior 2018 and the other for Revit 2018 and later.

What is written in the error message ?

---

<div class="post-metadata">

**Author:** ![bjkris](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@bjkris](https://forum.dynamobim.com/u/bjkris)\
**Post date:** [February 7, 2022, 9:58am UTC](https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994/5 "2022-02-07T09:58:10Z")

</div>

Hi agian

Its Revit 2020, and Dynamo 2.3.0.5885 and If I try to download a newer version of the Loci package, it says “The package uses a newer version of Dynamo”. So is that not a problem…?

And the error message says:

“Traceback (Most recent call last):  
File “”, line 191, in   
AttributeError: ‘Document’ object has no attribute ‘NewTag’”

---

<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:** [February 7, 2022, 10:01am UTC](https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994/6 "2022-02-07T10:01:18Z")

</div>

The _Genius Loci_ package is compatible with all versions of Dynamo, so no problem.  
The error message indicates that you are using the wrong node. (API method deprecated)

---

<div class="post-metadata">

**Author:** ![bjkris](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@bjkris](https://forum.dynamobim.com/u/bjkris)\
**Post date:** [February 7, 2022, 10:31am UTC](https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994/7 "2022-02-07T10:31:03Z")

</div>

Hi there again

I have tried updating the package to the newest version.

Now the error is:

“Traceback (Most recent call last):  
File , line 184, in   
File , line 51, in toRVTpoint  
AttributeError: ‘List[Object]’ object has no attribute ‘ToXyz’

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/e/be30690923f29190ce36a6ca59fd7f8cb13cdca0.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:** [February 7, 2022, 10:34am UTC](https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994/8 "2022-02-07T10:34:27Z")

</div>

> [@Alban\_de\_Chasteigner](#):
>
> Set the longest lacing on the _Create Tag_ node.

And for Revit 2020, use the _Create Tag_ node not the old _Create Tag (Deprecated)_.

---

<div class="post-metadata">

**Author:** ![bjkris](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@bjkris](https://forum.dynamobim.com/u/bjkris)\
**Post date:** [February 7, 2022, 10:52am UTC](https://forum.dynamobim.com/t/tag-ducts-on-several-views-at-once/72994/9 "2022-02-07T10:52:01Z")

</div>

Thank you once agian Alban!

As always, you have saved me so much time! 🙂
