# How can access the tag and the line?

**URL:** <https://forum.dynamobim.com/t/how-can-access-the-tag-and-the-line/40345>\
**Category:** Developers\
**Tags:** rooms\
**Created:** [September 5, 2019, 12:04pm UTC](https://forum.dynamobim.com/t/how-can-access-the-tag-and-the-line/40345 "2019-09-05T12:04:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [September 5, 2019, 12:04pm UTC](https://forum.dynamobim.com/t/how-can-access-the-tag-and-the-line/40345/1 "2019-09-05T12:04:21Z")

</div>

![Ursprung_Raum](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/c/fc4a842b6b8cd019b6db41c6ed321ced3831eed6.jpeg) [roomtagfinder.dyn](https://forum.dynamobim.com/uploads/short-url/xsYzoogIQgUnm1n9NWZvhjd34G0.dyn) (14.1 KB)

 ![2019-09-05_14h16_11](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/6/7667a3b6780ee8d008655e81b19f11d87db423f8.png)

Hello Dynos,

I have a special issuee. How can I find the Tagline. Is there any **API vocabulary** , and how can I put it in a _pythonscript_?

I need the origin of the tag and the start of the “tagleader”. My task is to replace my roomtags, but when i do that, the tags will loose there host, So I try to place the new tags (with line) with the information of there host. By the way, the model is linked 😕

I could place the tags automaticly, but they got placed inside the room. But the placed tags are right now in harmony with the sheetlayout 🙂 So the correct placing and the position of the tags are importanted.

KR

Andreas

 ![2019-09-05_14h22_33](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/4/c404d878430d2f7f33723a321f479b2a16e6122b.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:** [September 5, 2019, 1:13pm UTC](https://forum.dynamobim.com/t/how-can-access-the-tag-and-the-line/40345/2 "2019-09-05T13:13:23Z")

</div>

Hi @Draxl_Andreas,

There must be _Set Location Tag_ nodes in multiple packages.

Here is an example :

> [@Auto Material Tag](https://forum.dynamobim.com/t/auto-material-tag/29779/6):
>
> Hi Durmus, The node created material tags with the leaders and the locations were therefore incorrect. It is now corrected in the last version of the package. If your goal is to tag all materials, you can use the Wall CompoundStructureLayersLocation and Tag Set Location nodes.

**API :**  
[TagHeadPosition](https://apidocs.co/apps/revit/2019/4a5d8e7d-2a08-faec-4266-6773280aeb61.htm)

[LeaderEnd](https://apidocs.co/apps/revit/2019/32bac43c-9a67-7d69-4068-eb4fe34f6acb.htm)
