# Tagging Walls - Tag Location

**URL:** <https://forum.dynamobim.com/t/tagging-walls-tag-location/1468>\
**Category:** Packages\
**Created:** [May 12, 2015, 4:10pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468 "2015-05-12T16:10:04Z")\
**Posts on this page:** 19\
**Page:** 2

<div class="post-metadata">

**Author:** ![T\_Pover](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/t_pover/32/19147_2.png) [@T\_Pover](https://forum.dynamobim.com/u/T_Pover)\
**Post date:** [April 25, 2017, 9:10pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/21 "2017-04-25T21:10:31Z")

</div>

I don’t think you need to get the centroid at all. Just replace the Vector.ByTwoPoints node with a Point.AsVector node and then it should work.

---

<div class="post-metadata">

**Author:** ![Rob\_Kuffel1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rob_kuffel1/32/24375_2.png) [@Rob\_Kuffel1](https://forum.dynamobim.com/u/Rob_Kuffel1)\
**Post date:** [April 25, 2017, 9:44pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/22 "2017-04-25T21:44:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jorge\_Villarroel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jorge_villarroel/32/23619_2.png) [@Jorge\_Villarroel](https://forum.dynamobim.com/u/Jorge_Villarroel)\
**Post date:** [April 25, 2017, 11:44pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/23 "2017-04-25T23:44:30Z")

</div>

Hi @T_Pover, I did what you recommended, back to start. ☹

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

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

What did I do wrong?

---

<div class="post-metadata">

**Author:** ![Jorge\_Villarroel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jorge_villarroel/32/23619_2.png) [@Jorge\_Villarroel](https://forum.dynamobim.com/u/Jorge_Villarroel)\
**Post date:** [April 25, 2017, 11:48pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/24 "2017-04-25T23:48:19Z")

</div>

Hi @Rob_Kuffel1, I also tried your solution, this is my result:

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

Now, I get all the tags in the same place :S

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/c/5ccd690f36fa41aa02030ff40eb844b87b2272d9.png)

---

<div class="post-metadata">

**Author:** ![Greg\_McDowell](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/greg_mcdowell/32/21011_2.png) [@Greg\_McDowell](https://forum.dynamobim.com/u/Greg_McDowell)\
**Post date:** [April 26, 2017, 12:15am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/25 "2017-04-26T00:15:34Z")

</div>

I betcha it has to do with trying to tag them in section. When I was dealing with crops of varying view types I found that the Z axis is not the model Z axis in all view types!

---

<div class="post-metadata">

**Author:** ![Rob\_Kuffel1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rob_kuffel1/32/24375_2.png) [@Rob\_Kuffel1](https://forum.dynamobim.com/u/Rob_Kuffel1)\
**Post date:** [April 26, 2017, 12:15am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/26 "2017-04-26T00:15:25Z")

</div>

Jorge,  
Set the is offset Boolean to True. I think that should fix it.  
Rob

---

<div class="post-metadata">

**Author:** ![Jorge\_Villarroel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jorge_villarroel/32/23619_2.png) [@Jorge\_Villarroel](https://forum.dynamobim.com/u/Jorge_Villarroel)\
**Post date:** [April 26, 2017, 12:31am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/27 "2017-04-26T00:31:30Z")

</div>

Thanks @Rob_Kuffel1, I did what you said, but I’m stll getting the same result. What am I missing?

---

<div class="post-metadata">

**Author:** ![Rob\_Kuffel1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rob_kuffel1/32/24375_2.png) [@Rob\_Kuffel1](https://forum.dynamobim.com/u/Rob_Kuffel1)\
**Post date:** [April 26, 2017, 2:01am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/28 "2017-04-26T02:01:47Z")

</div>

Oh dang, I didn’t even notice that he was trying to tag in section. I haven’t done that. I’m curious to see how Revit OOTB tag all command would handle that. Sorry I missed that detail Jorge.

---

<div class="post-metadata">

**Author:** ![Einar\_Raknes](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/einar_raknes/32/8566_2.png) [@Einar\_Raknes](https://forum.dynamobim.com/u/Einar_Raknes)\
**Post date:** [April 26, 2017, 7:27am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/29 "2017-04-26T07:27:24Z")

</div>

Section views got their own coordinate systems, you can check what direction is to the right for the user with the RightDirection property and use that vector to determine the offset,

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

```
import clr
clr.AddReference('RevitNodes')
import Revit
clr.ImportExtensions(Revit.GeometryConversion)
OUT=IN[0].InternalElement.RightDirection.ToVector()

```

(`UpDirection` and `ViewDirection` are similar properties)

[http://www.revitapidocs.com/2017/be253fe5-777b-11b6-02be-64106cbb713f.htm](http://www.revitapidocs.com/2017/be253fe5-777b-11b6-02be-64106cbb713f.htm)

---

<div class="post-metadata">

**Author:** ![Jorge\_Villarroel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jorge_villarroel/32/23619_2.png) [@Jorge\_Villarroel](https://forum.dynamobim.com/u/Jorge_Villarroel)\
**Post date:** [May 2, 2017, 11:35am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/30 "2017-05-02T11:35:24Z")

</div>

Thanks @Einar_Raknes.

I made some test with the script I got from the beginning. With Dynamo 1.2.1 I get the result I want, but with the 1.3.0 version I have the issue described above.

Is this a bug? or something thyat changed in the current version?

Thanks.

---

<div class="post-metadata">

**Author:** ![Jorge\_Villarroel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jorge_villarroel/32/23619_2.png) [@Jorge\_Villarroel](https://forum.dynamobim.com/u/Jorge_Villarroel)\
**Post date:** [July 17, 2017, 4:50pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/31 "2017-07-17T16:50:10Z")

</div>

Hi @Einar_Raknes, I looked at your comment, but I don’t know how to implement this to solve my problem?

Thanks in advance

Cheers!

---

<div class="post-metadata">

**Author:** ![Einar\_Raknes](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/einar_raknes/32/8566_2.png) [@Einar\_Raknes](https://forum.dynamobim.com/u/Einar_Raknes)\
**Post date:** [July 18, 2017, 8:26pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/32 "2017-07-18T20:26:10Z")

</div>

I don’t remember exactly what I was thinking of, but you should check that the X direction of your vector aligns with the rightdirection in the view.

---

<div class="post-metadata">

**Author:** ![sharmanaveenajmer](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@sharmanaveenajmer](https://forum.dynamobim.com/u/sharmanaveenajmer)\
**Post date:** [December 25, 2017, 6:02am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/33 "2017-12-25T06:02:48Z")

</div>

Hello Jorge,

Could you tell me left side block in the uploaded snapshot?

Thanks in advance.

Naveen

---

<div class="post-metadata">

**Author:** ![Jorge\_Villarroel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jorge_villarroel/32/23619_2.png) [@Jorge\_Villarroel](https://forum.dynamobim.com/u/Jorge_Villarroel)\
**Post date:** [January 2, 2018, 11:31am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/34 "2018-01-02T11:31:38Z")

</div>

Hi @sharmanaveenajmer,

First of all, Happy New Year and sorry for the late reply. Could you be more specific of which image are you talking about?

Regards

---

<div class="post-metadata">

**Author:** ![muhd\_sufian](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@muhd\_sufian](https://forum.dynamobim.com/u/muhd_sufian)\
**Post date:** [February 22, 2019, 4:01am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/35 "2019-02-22T04:01:28Z")

</div>

Hi all…i am totally new about this dynamo thing.And currently i am trying to understand the concept of building nodes itself. first and for most i wanted to actually create a automated wall tagging script for the layout plan and i found this post is relevant to what i wanted to achieve…Currently when we use the auto tagging function on revit they will tag it base of centre of the wall…I try to build the scripts using “Tag.ByElementAndOffset” node…i have difficulty inputting the offset on that node…can somebody enlighten me on what type of input i should put under that slot.

this is my current script which i am stuck:

 ![Offset%20of%20Wall%20tag](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/1/c1a84df668fbf81d393f8e1b17444ada7f54eb88.png)

---

<div class="post-metadata">

**Author:** ![muhd\_sufian](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@muhd\_sufian](https://forum.dynamobim.com/u/muhd_sufian)\
**Post date:** [February 22, 2019, 4:02am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/36 "2019-02-22T04:02:08Z")

</div>

the result i get using my stuck script above:

 ![What%20i%20have%20after%20using%20the%20script](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/2/b2bf630a95aeb4a7bb5cc388770c22d7511af18f.png)

---

<div class="post-metadata">

**Author:** ![muhd\_sufian](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@muhd\_sufian](https://forum.dynamobim.com/u/muhd_sufian)\
**Post date:** [February 22, 2019, 4:02am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/37 "2019-02-22T04:02:42Z")

</div>

and this is what i want to achieve. Automated Wall tag with an offset. this is done by tagging and manually shift up or down the tag.

 ![What%20i%20want%20to%20achieve](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/7/2756fc117b2419a57766bb18f903f104cd6e7260.png)

---

<div class="post-metadata">

**Author:** ![michal.zubala](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@michal.zubala](https://forum.dynamobim.com/u/michal.zubala)\
**Post date:** [November 5, 2021, 3:16pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/38 "2021-11-05T15:16:04Z")

</div>

Hi Rob. Thanks for the procedure!

I will be thankful for a hint: when I repeat the procedure for the new views or elements the tags are erase from the old view. Do you know how add new tags without erasing old one?

And is it possible to tag walls in certain number of views (list of views)? the block: Tag.By Element does not recognize list of views, it works with only one select view.

---

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [July 19, 2022, 7:33pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/39 "2022-07-19T19:33:08Z")

</div>

Anyone find the tagging nodes really slow? Is there a tag all node somewhere, then you can work with the positioned tags

[Previous page](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468.md?page=1)
