# 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:** 20\
**Page:** 1

<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:** [May 12, 2015, 4:10pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/1 "2015-05-12T16:10:04Z")

</div>

Hello,

I am attempting to automate the tagging of walls. More specifically, I am trying to locate the wall tags at the midpoint of the wall curve. Everything seems to be working properly in Dynamo, however, the tags end up being located in a location which is different than what is shown in Dynamo. Please see images for additional detail. Does anyone know what may be causing the location to shift? Thank you, Rob K.

![5-12-2015 2-21-42 PM](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/0/07b0e44a0530fa9ed52c551c8b9e8e5db8e2f880.jpg)

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [May 12, 2015, 5:09pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/2 "2015-05-12T17:09:44Z")

</div>

Rob,

It’s because in previous versions of Dynamo when one still had to deal with Units i was doing unit conversions manually like so:

![Capture](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/f/f8e5a9a0a80a6b6b025cbbc06cdeeefc54c1b898.png)

&nbsp;

&nbsp;

&nbsp;

Now that dynamo is so “awesome” and unitless, we dont have to worry about it because it will assume whatever units your Revit session is set to. 🙂

All, we have to do to fix this issue is remove the conversion. This should do:

![Capture](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/9/9f516a58e742136c7272d0be28b99680e5199c25.png)

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [May 12, 2015, 5:12pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/3 "2015-05-12T17:12:30Z")

</div>

Oh, and one more thing…I imagine that Revit has a tool already that is perfectly capable of doing what you are describing here: go to Annotate\>TagAll and select a wall tag. Or did i miss something here?

---

<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:** [May 12, 2015, 5:42pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/4 "2015-05-12T17:42:43Z")

</div>

Thank you Konrad, I will give that a shot.

You didn’t miss anyting…the OOTB tagging tools would work great if my firm used an industry standard wall tagging methodology. 🙂

Rob K

---

<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:** [May 12, 2015, 6:00pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/5 "2015-05-12T18:00:56Z")

</div>

That worked perfect. Thank you very much.

Rob K.

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [May 13, 2015, 7:36am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/6 "2015-05-13T07:36:15Z")

</div>

I see, I am going to guess that you tag walls with different Type of a tag based on some information that is contained within it. For example a Fire Rated wall has one type of tag and non rated a different one. That methodology indeed renders OOTB tools not good enough, but Dynamo is perfectly capable of achieving this. Good luck!

---

<div class="post-metadata">

**Author:** ![111125](https://avatars.discourse-cdn.com/v4/letter/1/258eb7/32.png) [@111125](https://forum.dynamobim.com/u/111125)\
**Post date:** [May 20, 2015, 3:05am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/7 "2015-05-20T03:05:50Z")

</div>

Mr. Sobon

I modify the code you mention above, but still get no luck on the result,

tags still place at the wrong position, is there any reason?

BTW, I use node by Grimshaw.Modify, I can’t get node from Archi-lab work.

Thanks, Adrian

---

<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:** [March 8, 2017, 7:39pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/8 "2017-03-08T19:39:01Z")

</div>

I tried using the script I made to automate wall tagging and it doesn’t seem to work anymore. I don’t get any errors, but the tags aren’t placed.

1. Is it even possible to tag a wall with Dynamo in Revit 2017?  
I see you can change an existing tag, but I have been unsuccessful finding a way to tag a wall with Dynamo. This isn’t a big deal, because I can use the Revit Tag All feature, but I’m curious if this is a limitation.

2. Is it possible (without creating a custom python node) to get the origin or coordinate system for wall tags?  
Again, I have been unsuccessful getting the origin of wall tags.

3. Is it possible to move or translate the wall tag location?

Thanks for your tips and hints.

---

<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:** [March 9, 2017, 5:25pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/9 "2017-03-09T17:25:57Z")

</div>

@Rob_Kuffel1

Hi, just yesterday I made a script fow wall tagging:

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

It worked perfect for me. You can play the with the vectors and the offset to choose where you want the tag to be placed. In my case, I wanted the tag in the middle of the wall element so I went for the centroid —\> point vector and the offset boolean **false** so it is not an offset from that point.

Hope it helps!

---

<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:** [March 9, 2017, 5:28pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/10 "2017-03-09T17:28:29Z")

</div>

Also, check this out:

[https://forum.dynamobim.com/t/tag-byelement-offset-value-input/8894](https://forum.dynamobim.com/t/tag-byelement-offset-value-input/8894)

---

<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:** [March 9, 2017, 6:17pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/11 "2017-03-09T18:17:52Z")

</div>

Thank you very much. That did help. I was missing everything to the right of the Tag.ByElement node. Funny…I had assumed the node would just place the default tag for the element. Lesson learned: never assume anything.

Thanks again Jorge.

---

<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:** [March 9, 2017, 6:37pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/12 "2017-03-09T18:37:02Z")

</div>

We really need to thank @T_Pover

> [@Tag.ByElement - Selecting which type of TAG](https://forum.dynamobim.com/t/tag-byelement-selecting-which-type-of-tag/10178/2):
>
> In addition, fo better understanding. When I run my script, the tag for the columns (for example) is an “?” sign, so I have to manually choose which type I want to show. 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:** [April 24, 2017, 1:13am UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/13 "2017-04-24T01:13:41Z")

</div>

Hi All, please Help.

What I followed the conversation about the tags, it worked perfect for me, but now the tag is placed far away the element I want to tag.

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

I don’t know why it is placing it away, if I’m indicating the centroid as a base point and _no offset_.

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

@T_Pover, @Rob_Kuffel1, any Ideas?

Thanks in advance for your time.

---

<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 24, 2017, 3:31pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/14 "2017-04-24T15:31:28Z")

</div>

I’m not sure what’s going on Jorge. There is a message on the Tag.ByElement node, what does it say? Also, did you upgrade to the newest version of Dynamo? I have not upgraded yet and the Tag.ByElement seems to still be working fine. Rob K

---

<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 24, 2017, 5:15pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/15 "2017-04-24T17:15:46Z")

</div>

Yeah, I upgraded to the latest and from then I have this issue, so maybe is a version issue.

Any thoughts?

---

<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 24, 2017, 5:16pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/16 "2017-04-24T17:16:08Z")

</div>

@Rob_Kuffel1, what version of Dynamo are you using?

---

<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 24, 2017, 8:41pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/17 "2017-04-24T20:41:24Z")

</div>

The problem is that the vector you are creating is probably way too big. If the centroid of the wall is at point (20000,20000,0) then the tag will be moved by 20000 along the X-axis and 20000 along the Y-axis.  
What you actually need as a vector is the distance from the start/endpoint of the wall to the midpoint (centroid) of the wall. Or just set the IsOffset port to false so then you can just specifiy the location of the tags. Apparently the node still expects vectors though.  
Getting the center point of a wall is also a lot faster if you use the node curve.pointAtParameter, like so:

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/a/cafd2b5b2635ec2ebd7fddbf37793a4226df7fdb.jpg)

---

<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 24, 2017, 11:59pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/18 "2017-04-24T23:59:04Z")

</div>

In order to offset the tag from the mid point of the wall in a specific direction, you have to calculate the direction you want to the tag to be offset from the wall using vectors. In the example I attached, I’m using the Grimshaw Wall.ExteriorDirection node. Once you have the direction vector you want to offset the tag, then you can scale vector or add to the vector.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/6/46a1c9b0a7ff515d24c92ff5854fa1f7a18685aa.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, 7:56pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/19 "2017-04-25T19:56:11Z")

</div>

Hi @Rob_Kuffel1. Could you please put a better quality image to see the node names. Thanks in advance.

---

<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, 8:11pm UTC](https://forum.dynamobim.com/t/tagging-walls-tag-location/1468/20 "2017-04-25T20:11:10Z")

</div>

Hi @T_Pover, here is my approach following your directions.

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

(The RLE.Centroide node just get the centroid of the solid)

The problem I’m getting is that now I get all the tags almost in the same place.

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

What am I missing here?

Thaks in advance!

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