# Turn off specific RVT links in View template

**URL:** <https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587>\
**Category:** Revit\
**Created:** [January 21, 2021, 5:09pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587 "2021-01-21T17:09:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evan.Pond](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/evan.pond/32/98460_2.png) [@Evan.Pond](https://forum.dynamobim.com/u/Evan.Pond)\
**Post date:** [January 21, 2021, 5:09pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/1 "2021-01-21T17:09:55Z")

</div>

Often we will add a revit link mid project for coordination and I want to be able to turn it off in all view templates. I have figured out how to turn off ALL linked files in view templates. However I want to turn off a specific revit link in the templates.

 ![RVT links_2021-01-21_08-51-35](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/f/ef2ea83dcb8bb06e18697778ab3eb876af3b3ada.png)

---

<div class="post-metadata">

**Author:** ![m-g](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/m-g/32/109356_2.png) [@m-g](https://forum.dynamobim.com/u/m-g)\
**Post date:** [January 21, 2021, 6:06pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/2 "2021-01-21T18:06:29Z")

</div>

I’ve never seen those View Type and Views.GetByType nodes. Are they part of a package? They seem useful!

As for your question, I can’t seem to find any node for that particular setting. Only workaround I can think of is to (somehow?) create a view filter for that specific revit link and to use the View.ToggleFilterInView rhythm node on all your view templates.

---

<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:** [January 21, 2021, 6:58pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/3 "2021-01-21T18:58:03Z")

</div>

Use Element.OverrideInView instead. Then you just need to filter the specific link instance you’re looking for.

---

<div class="post-metadata">

**Author:** ![Evan.Pond](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/evan.pond/32/98460_2.png) [@Evan.Pond](https://forum.dynamobim.com/u/Evan.Pond)\
**Post date:** [January 21, 2021, 7:56pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/4 "2021-01-21T19:56:17Z")

</div>

Archilab, I seem to use their nodes in most of my graphs!

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [January 21, 2021, 8:03pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/5 "2021-01-21T20:03:51Z")

</div>

I don’t know if View Templates can override the unload feature  
It seems a one-click solution to me

---

<div class="post-metadata">

**Author:** ![Evan.Pond](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/evan.pond/32/98460_2.png) [@Evan.Pond](https://forum.dynamobim.com/u/Evan.Pond)\
**Post date:** [January 21, 2021, 8:18pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/6 "2021-01-21T20:18:22Z")

</div>

Nick, this gets me in the right direction but I don’t know how to get a revit link in the form of a graphics override that this node needs.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/9/19fc80079926d1eb080d57f70e2dffb3b21454d8.jpeg)

---

<div class="post-metadata">

**Author:** ![Evan.Pond](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/evan.pond/32/98460_2.png) [@Evan.Pond](https://forum.dynamobim.com/u/Evan.Pond)\
**Post date:** [January 21, 2021, 8:19pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/7 "2021-01-21T20:19:34Z")

</div>

Marcel, I don’t want to unload. I want the linked model to show up, I just want to turn it off in all my view templates.

---

<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:** [January 21, 2021, 8:29pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/8 "2021-01-21T20:29:16Z")

</div>

I misread your post the first time. Element.OverrideInView hides the input element in the active view. For multiple views you would have to use View.HideElements from ArchiLab. Again, this only works for Views, not View Templates. The API does not currently allow for modifying the RVT Links portion of a View Template, which is what you would need to do. You will either have to make these changes to the View (without a template) or make them manually.

Edit: Another option would be to put the link on its own workset and default the workset to not show in views.

---

<div class="post-metadata">

**Author:** ![Evan.Pond](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/evan.pond/32/98460_2.png) [@Evan.Pond](https://forum.dynamobim.com/u/Evan.Pond)\
**Post date:** [January 21, 2021, 9:05pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/9 "2021-01-21T21:05:06Z")

</div>

View templates are treated like views from what I can see. I was able to turn off the specific revit link in the view template. I even created a new view that had the link, when I applied the template it turn off.  
However the view template shows the link as turned on which could confuse users.

 ![Capture1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/e/5e2fbec9b476852d1d2d3c9d29e0efca333a732e.jpeg)

---

<div class="post-metadata">

**Author:** ![JC.Moreno](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@JC.Moreno](https://forum.dynamobim.com/u/JC.Moreno)\
**Post date:** [February 4, 2021, 9:56am UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/10 "2021-02-04T09:56:19Z")

</div>

Hi @Evan.Pond,

I’m also trying to find a solution for this problem. Each time I load a new rvt link I have to modify every view template.  
I didn’t find the node “View.SetElementOverrides”. From wich package does it come from?

Thank you.

---

<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, 2021, 1:19pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/11 "2021-02-04T13:19:14Z")

</div>

The “View SetElementOverrides” node is from the _Genius Loci_ package.

---

<div class="post-metadata">

**Author:** ![JC.Moreno](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@JC.Moreno](https://forum.dynamobim.com/u/JC.Moreno)\
**Post date:** [February 4, 2021, 3:57pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/12 "2021-02-04T15:57:54Z")

</div>

Thank you @Alban_de_Chasteigner  
I have this package installed but I don’t find this node. Maybe I have to download the last version.

---

<div class="post-metadata">

**Author:** ![JC.Moreno](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@JC.Moreno](https://forum.dynamobim.com/u/JC.Moreno)\
**Post date:** [March 16, 2021, 4:00pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/13 "2021-03-16T16:00:35Z")

</div>

HI @Evan.Pond,

Do you know why is it taking the sub-check box with the number instead of taking the general check box?  
See image in attached

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

Regards,

---

<div class="post-metadata">

**Author:** ![Evan.Pond](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/evan.pond/32/98460_2.png) [@Evan.Pond](https://forum.dynamobim.com/u/Evan.Pond)\
**Post date:** [March 16, 2021, 5:30pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/14 "2021-03-16T17:30:57Z")

</div>

It’s all just part of the name of that link. It looks the same for me and still functions.  
I’m not currently using this because when I look at the template it stays checked even though it is turned off.  
So what I have works I just don’t like the usability of it. Also pull down lists tend to differs between 2018 and 2020 so when possible I avoid them. But now saying that, I realized my solution here doesn’t fix than… So back to the pull down.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/2/024e55fea2f524a3233883d704d474dbba9a7cfe.jpeg)

---

<div class="post-metadata">

**Author:** ![c.poupin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/c.poupin/32/89152_2.png) [@c.poupin](https://forum.dynamobim.com/u/c.poupin)\
**Post date:** [March 19, 2021, 2:05pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/15 "2021-03-19T14:05:14Z")

</div>

Hello  
to hide a Revit Link in view (Visibility / Graphics), it’s necessary to get the **Type** (RevitLinkType) of RevitLinkInstance

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

---

<div class="post-metadata">

**Author:** ![Evan.Pond](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/evan.pond/32/98460_2.png) [@Evan.Pond](https://forum.dynamobim.com/u/Evan.Pond)\
**Post date:** [March 19, 2021, 3:43pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/16 "2021-03-19T15:43:45Z")

</div>

That works! The box is now unchecked and works the way I wanted thanks!

---

<div class="post-metadata">

**Author:** ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)\
**Post date:** [November 23, 2021, 9:22am UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/17 "2021-11-23T09:22:52Z")

</div>

Hi all,

Is it possible to set underlay?

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

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [November 23, 2021, 11:28am UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/18 "2021-11-23T11:28:23Z")

</div>

I do not believe this has been exposed in the API.

Suggestion for work around here:

> [@Include/exclude for visibility graphics of linked models](https://forum.dynamobim.com/t/include-exclude-for-visibility-graphics-of-linked-models/42068/7):
>
> Hi Michael, So you can use this and set a predefined template which has your desired settings, automatically to many views at a time. [image] Let us know if the above solution worked! Regards,

---

<div class="post-metadata">

**Author:** ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)\
**Post date:** [November 23, 2021, 11:59am UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/19 "2021-11-23T11:59:58Z")

</div>

Thank you for sharing, will watch that forum maybe I can do it that way.

---

<div class="post-metadata">

**Author:** ![ivan.acosta.ca](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@ivan.acosta.ca](https://forum.dynamobim.com/u/ivan.acosta.ca)\
**Post date:** [July 25, 2022, 5:36pm UTC](https://forum.dynamobim.com/t/turn-off-specific-rvt-links-in-view-template/59587/20 "2022-07-25T17:36:34Z")

</div>

Hello Evand Pond, thank you for your question, thank you for that I was able to solve my problem. This script can enable/disable a revit link based on the project’s current link list. You can select which rvtlink you want to enable/disable in the code block.

I hope to be helpful!!

Rhythm 2022.4.1  
Clockwork for dynamo 2.x - 2.4.0  
Genius Loci 2022.4.19

 ![Screenshot 2022-07-25 122011](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/5/d5f8d78a0f75003b784a26d354efbcaf8a9d4f5f.jpeg)
