# Filter a filter element

**URL:** <https://forum.dynamobim.com/t/filter-a-filter-element/27846>\
**Category:** Revit\
**Created:** [October 30, 2018, 1:48pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846 "2018-10-30T13:48:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![zied.samoud5](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zied.samoud5](https://forum.dynamobim.com/u/zied.samoud5)\
**Post date:** [October 30, 2018, 1:48pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/1 "2018-10-30T13:48:02Z")

</div>

HI  
I filter the beam by identifier and I want to see for example the filter beam height  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/4/f446591a4ae745fb625f47348f0519888abd78ad.png)

---

<div class="post-metadata">

**Author:** ![mellouze](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@mellouze](https://forum.dynamobim.com/u/mellouze)\
**Post date:** [October 30, 2018, 1:50pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/2 "2018-10-30T13:50:04Z")

</div>

Hi Zied,

You are not passing elements to the **Element.GetParameterValueByName** node, but what appears to be strings. Try passing the elements instead.

---

<div class="post-metadata">

**Author:** ![zied.samoud5](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zied.samoud5](https://forum.dynamobim.com/u/zied.samoud5)\
**Post date:** [October 30, 2018, 1:53pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/3 "2018-10-30T13:53:59Z")

</div>

I try several methods it does not work

---

<div class="post-metadata">

**Author:** ![zied.samoud5](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zied.samoud5](https://forum.dynamobim.com/u/zied.samoud5)\
**Post date:** [October 30, 2018, 1:55pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/4 "2018-10-30T13:55:45Z")

</div>

it is necessary to transform the identifier to elements but how?

---

<div class="post-metadata">

**Author:** ![mellouze](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@mellouze](https://forum.dynamobim.com/u/mellouze)\
**Post date:** [October 30, 2018, 2:01pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/5 "2018-10-30T14:01:44Z")

</div>

Without seeing your graph it is IMPOSSIBLE to help you… It is like asking somebody to correct your math reasoning by handing only your conclusion…

On the screenshot below you can see that the node that is bugging in your graph only accept Elements. You can check if an object is an element by checking if the green box with the ID appears on Dynamo.

Also, check if the parameter you want to get exist in Revit. You can check all the parameters of a given element with the Element.Parameters node.

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

---

<div class="post-metadata">

**Author:** ![zied.samoud5](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zied.samoud5](https://forum.dynamobim.com/u/zied.samoud5)\
**Post date:** [October 30, 2018, 2:11pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/6 "2018-10-30T14:11:54Z")

</div>

HI  
I filter the beam by identifier and I want to see for example the filter beam height ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/4/f446591a4ae745fb625f47348f0519888abd78ad.png)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 30, 2018, 2:39pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/7 "2018-10-30T14:39:04Z")

</div>

@zied.samoud5, you need to show your complete graph for anyone to help you with the problem you are facing. The issue isn’t with the parts you’re showing but in prior sections. Please upload a complete graph image created by the camera export with all previews legible and expanded. Alternatively you can post your .dyn file directly.

---

<div class="post-metadata">

**Author:** ![zied.samoud5](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zied.samoud5](https://forum.dynamobim.com/u/zied.samoud5)\
**Post date:** [October 30, 2018, 2:44pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/8 "2018-10-30T14:44:17Z")

</div>

FIRST TIME I filtered the beam by its identifier going correctly but after I got lists and I want to make another filter on this list by ‘’ h ‘’ for example it does not help me

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/3/837228a0157331cabb229aefd6aaaf7c9b494314.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/5/75346e4d1acefc281d733b0e842c389c34be56b5.png)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 30, 2018, 2:46pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/9 "2018-10-30T14:46:15Z")

</div>

That’s not a full graph by the camera export button. Notice how we can’t read the node names. Still can’t help you we’ll, but I can say that you are filtering the parameter values not the elements in your list.filterbyboolmask node.

---

<div class="post-metadata">

**Author:** ![mellouze](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@mellouze](https://forum.dynamobim.com/u/mellouze)\
**Post date:** [October 30, 2018, 2:48pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/10 "2018-10-30T14:48:03Z")

</div>

> [@jacob.small](#):
>
> I can say that you are filtering the parameter values not the elements in your list.filterbyboolmask node.

I highly support that statement 🙂 Try feeding the List.FilterByBoolMask with the elements rather than the identifiers

---

<div class="post-metadata">

**Author:** ![zied.samoud5](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zied.samoud5](https://forum.dynamobim.com/u/zied.samoud5)\
**Post date:** [October 30, 2018, 2:49pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/11 "2018-10-30T14:49:44Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/4/740e89dfdd15e2f66ecbe2f02a92f108887b24ed.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/a/eae0532c7968ef1574558d010f59cbc4988e6213.png)

---

<div class="post-metadata">

**Author:** ![m.rijsmus](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@m.rijsmus](https://forum.dynamobim.com/u/m.rijsmus)\
**Post date:** [October 30, 2018, 2:52pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/12 "2018-10-30T14:52:16Z")

</div>

connect these two

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/a/3a22908d4b933cd3107a51832d78dcd5067957b5.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/7/e7abc9c9db5b223623074f6110ecaa88d8d5dbe3.jpeg)

---

<div class="post-metadata">

**Author:** ![zied.samoud5](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zied.samoud5](https://forum.dynamobim.com/u/zied.samoud5)\
**Post date:** [October 30, 2018, 3:03pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/13 "2018-10-30T15:03:28Z")

</div>

the first filtration works but the problem when I want to see the filter list parameter by “element.getparmeterValuebyname”  
my goal to filter the item by ID  
i’ve got two lists i want to see the list height of element filter.  
filtration by name it works but the second no  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/3/c38cf412b1aed4619cf70218b57cd6d1104160b6.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7e9a6a24d6ad343c290513c6db05c6e15d97a238.png)

---

<div class="post-metadata">

**Author:** ![mellouze](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@mellouze](https://forum.dynamobim.com/u/mellouze)\
**Post date:** [October 30, 2018, 3:08pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/14 "2018-10-30T15:08:16Z")

</div>

Have you at least tried the @m.rijsmus’s solution ? Why does it not suit you ?

---

<div class="post-metadata">

**Author:** ![zied.samoud5](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zied.samoud5](https://forum.dynamobim.com/u/zied.samoud5)\
**Post date:** [October 30, 2018, 3:14pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/15 "2018-10-30T15:14:26Z")

</div>

yes it works thank you

---

<div class="post-metadata">

**Author:** ![zied.samoud5](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zied.samoud5](https://forum.dynamobim.com/u/zied.samoud5)\
**Post date:** [October 30, 2018, 3:14pm UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/16 "2018-10-30T15:14:54Z")

</div>

yes it works thank you ,

---

<div class="post-metadata">

**Author:** ![cambimnucetech](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cambimnucetech/32/60592_2.png) [@cambimnucetech](https://forum.dynamobim.com/u/cambimnucetech)\
**Post date:** [November 22, 2018, 8:04am UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/17 "2018-11-22T08:04:07Z")

</div>

![bao%20loi](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/4/8423f6ebd73c30fe5ab0f60c2a909991e25a19b6.png) [DYNAMO select and filter.dyn](https://forum.dynamobim.com/uploads/short-url/hv4XHDSnUTJWKg2vZfExsD32IaH.dyn) (28.1 KB)  
I can’t ☹ .  
Tôi thử một số phương pháp nó không hoạt động

---

<div class="post-metadata">

**Author:** ![Jonathan.Olesen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan.olesen/32/44242_2.png) [@Jonathan.Olesen](https://forum.dynamobim.com/u/Jonathan.Olesen)\
**Post date:** [November 22, 2018, 9:51am UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/18 "2018-11-22T09:51:24Z")

</div>

> [@cambimnucetech](#):
>
> Tôi thử một số phương pháp nó không hoạt động

Sorry, my Vietnamese is a little rusty, can you translate that to english? 🙂

---

<div class="post-metadata">

**Author:** ![cambimnucetech](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cambimnucetech/32/60592_2.png) [@cambimnucetech](https://forum.dynamobim.com/u/cambimnucetech)\
**Post date:** [November 22, 2018, 10:51am UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/19 "2018-11-22T10:51:42Z")

</div>

I try a method number it does not work . :)))

---

<div class="post-metadata">

**Author:** ![Jonathan.Olesen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan.olesen/32/44242_2.png) [@Jonathan.Olesen](https://forum.dynamobim.com/u/Jonathan.Olesen)\
**Post date:** [November 22, 2018, 11:24am UTC](https://forum.dynamobim.com/t/filter-a-filter-element/27846/20 "2018-11-22T11:24:18Z")

</div>

What does the error say?

[Next page](https://forum.dynamobim.com/t/filter-a-filter-element/27846.md?page=2)
