# How to add tags on a linked model?

**URL:** <https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368>\
**Category:** Revit\
**Tags:** revit\
**Created:** [November 9, 2023, 4:15pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368 "2023-11-09T16:15:48Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![AismailMPH3Y](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@AismailMPH3Y](https://forum.dynamobim.com/u/AismailMPH3Y)\
**Post date:** [November 9, 2023, 4:15pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/1 "2023-11-09T16:15:48Z")

</div>

This is what I’ve, I add in the string that is connected to \_linkedmodel the name of the linked model. but still it does not seem to work, any ideas?

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

---

<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:** [November 9, 2023, 4:23pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/2 "2023-11-09T16:23:36Z")

</div>

@AismailMPH3Y ,

Be aware to test, whether your annotations and dimension will remain in the model, when you reload the link (changed link)!

KR

Andreas

---

<div class="post-metadata">

**Author:** ![AismailMPH3Y](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@AismailMPH3Y](https://forum.dynamobim.com/u/AismailMPH3Y)\
**Post date:** [November 9, 2023, 6:03pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/4 "2023-11-09T18:03:07Z")

</div>

the script does not work yet!

do you have any suggests on how to make it work?

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [November 9, 2023, 6:51pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/5 "2023-11-09T18:51:17Z")

</div>

Look at `Get All Elements from Linked Model` and its inputs. It takes a linked document, so you need to feed it a `Document`, not a string.

---

<div class="post-metadata">

**Author:** ![AismailMPH3Y](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@AismailMPH3Y](https://forum.dynamobim.com/u/AismailMPH3Y)\
**Post date:** [November 9, 2023, 7:41pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/6 "2023-11-09T19:41:02Z")

</div>

can this work on a cloud model?

---

<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:** [November 9, 2023, 8:04pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/7 "2023-11-09T20:04:46Z")

</div>

@AismailMPH3Y ,

yes because you work with a model that you consume there is no difference… just look in your link manager.

---

<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:** [November 9, 2023, 11:00pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/8 "2023-11-09T23:00:34Z")

</div>

Here’s one way to get the linked model document - example using the Revit Architectural demo file

 ![GetLinkedDocElements](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/4/649611b6532c515b6de83de3112cf0ec005e05c2.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:** [November 10, 2023, 7:53am UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/9 "2023-11-10T07:53:49Z")

</div>

Hi,

The OOTB _Tag.ByElement_ node doesn’t work on linked elements.  
Use the _Create Tag_ node from the _Genius Loci_ package instead.

---

<div class="post-metadata">

**Author:** ![AismailMPH3Y](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@AismailMPH3Y](https://forum.dynamobim.com/u/AismailMPH3Y)\
**Post date:** [November 15, 2023, 4:07pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/10 "2023-11-15T16:07:53Z")

</div>

Thanks for your help! for some reason when I do get all linked elements and see if they are available in my view that I want to create the annotation form, they all come out as false, thats why the create tag node did not work for me, any suggests why?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/5/45d2c615c74e31689ccebebe8a5b3e0791bbc4f3.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:** [November 15, 2023, 4:31pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/11 "2023-11-15T16:31:19Z")

</div>

Instead of the _IsVisible_ node use the _SelectByCateOrTypeAndView_ node.  
Connect the inputs LinkInstance of the _SelectByCateOrTypeAndView_ and _Create Tag_ nodes to the chosen RevitLinkInstance.

---

<div class="post-metadata">

**Author:** ![AismailMPH3Y](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@AismailMPH3Y](https://forum.dynamobim.com/u/AismailMPH3Y)\
**Post date:** [November 15, 2023, 6:13pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/12 "2023-11-15T18:13:53Z")

</div>

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

I’m not seeing a Linkinstance for SelectByCateOrTypeAndView

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

---

<div class="post-metadata">

**Author:** ![AismailMPH3Y](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@AismailMPH3Y](https://forum.dynamobim.com/u/AismailMPH3Y)\
**Post date:** [November 15, 2023, 6:39pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/13 "2023-11-15T18:39:01Z")

</div>

> [@AismailMPH3Y](#):
>
> This is another script that I tried that also does not want to work.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/9/a94ee8f59b6be16af96c7131c8be17fd0876dcc7.png)Thi

---

<div class="post-metadata">

**Author:** ![AismailMPH3Y](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@AismailMPH3Y](https://forum.dynamobim.com/u/AismailMPH3Y)\
**Post date:** [November 15, 2023, 6:52pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/14 "2023-11-15T18:52:53Z")

</div>

@Alban_de_Chasteigner I tried this way as well but still getting null

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

---

<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:** [November 15, 2023, 9:08pm UTC](https://forum.dynamobim.com/t/how-to-add-tags-on-a-linked-model/95368/15 "2023-11-15T21:08:51Z")

</div>

An old example :

> [@Create Independent Tag output result NULL](https://forum.dynamobim.com/t/create-independent-tag-output-result-null/42242/11):
>
> Package update : The tags created for the linked elements are now returned :
