# Hide a detail group in multiple views (Archi-lab)

**URL:** <https://forum.dynamobim.com/t/hide-a-detail-group-in-multiple-views-archi-lab/85148>\
**Category:** Revit\
**Tags:** revit, archi-lab, dynamoplayer\
**Created:** [January 19, 2023, 1:02pm UTC](https://forum.dynamobim.com/t/hide-a-detail-group-in-multiple-views-archi-lab/85148 "2023-01-19T13:02:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitsanBCACP](https://avatars.discourse-cdn.com/v4/letter/n/76d3ee/32.png) [@nitsanBCACP](https://forum.dynamobim.com/u/nitsanBCACP)\
**Post date:** [January 19, 2023, 1:02pm UTC](https://forum.dynamobim.com/t/hide-a-detail-group-in-multiple-views-archi-lab/85148/1 "2023-01-19T13:02:17Z")

</div>

Hey everyone!  
I will really appreciate your help. I have a model with multiple plan views and I would like to hide a specific detail group in many views at the same time. I am using the **archilab**  **Views.HideElements** in order to hide the detail group in a View Set. The output I am getting from the archilab node is false and no detail group is hidden.  
Thanks in advance for any help you can provide!

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/a/fa3670eecdf398903887ba16ff7cb1983dc4c517.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:** [January 22, 2023, 4:42pm UTC](https://forum.dynamobim.com/t/hide-a-detail-group-in-multiple-views-archi-lab/85148/2 "2023-01-22T16:42:06Z")

</div>

@nitsanBCACP ,

you can hide it this way, BUT…

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

In general i would recommend to do it via a view-filter implemented in a view-template…

or even specify your view by the topic, that is implemented in the design representation (_2D-Components_)

KR

Andreas

---

<div class="post-metadata">

**Author:** ![Vladimir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vladimir/32/147600_2.png) [@Vladimir](https://forum.dynamobim.com/u/Vladimir)\
**Post date:** [January 23, 2023, 6:03am UTC](https://forum.dynamobim.com/t/hide-a-detail-group-in-multiple-views-archi-lab/85148/3 "2023-01-23T06:03:41Z")

</div>

Hi, @nitsanBCACP.

Made with Python, simple to hide/show attached groups with ShowAttachedDetailGroups from Revit API:  
[Show\_attached\_DetailGroup\_.dyn](https://forum.dynamobim.com/uploads/short-url/8mmhB1poE05zWdp725WEYSW75EI.dyn) (73.7 KB)  
Fell free to ask for any changes.

---

<div class="post-metadata">

**Author:** ![nitsanBCACP](https://avatars.discourse-cdn.com/v4/letter/n/76d3ee/32.png) [@nitsanBCACP](https://forum.dynamobim.com/u/nitsanBCACP)\
**Post date:** [January 25, 2023, 6:32am UTC](https://forum.dynamobim.com/t/hide-a-detail-group-in-multiple-views-archi-lab/85148/4 "2023-01-25T06:32:05Z")

</div>

Thank you @Draxl_Andreas and @Vladimir for your help. It is very appreciated!  
In this specific case as I have many views that share the same view template, I would not want to assign new view template to some of the view due to a specific filter.  
Also, the detail groups I would like to hide are not attached to any model group.  
At least, after consulting a colleague of mine, I understood why the script I have made didn’t bring the desired result. Actually a detail group is not an “element” and that is the reason why they weren’t hidden. I have to “extract” all the members inside the desired detail group and place them in the “elements” input of the **Views.HideElements** node. 🙂

---

<div class="post-metadata">

**Author:** ![Vladimir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vladimir/32/147600_2.png) [@Vladimir](https://forum.dynamobim.com/u/Vladimir)\
**Post date:** [January 25, 2023, 7:55am UTC](https://forum.dynamobim.com/t/hide-a-detail-group-in-multiple-views-archi-lab/85148/5 "2023-01-25T07:55:33Z")

</div>

So, you see Detail Group unchecked in this window?  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/7/17230e81d39baa5dae3d018217a2ff6f1480c971.png)
