# Levels names

**URL:** <https://forum.dynamobim.com/t/levels-names/3519>\
**Category:** Packages\
**Created:** [March 23, 2016, 10:27am UTC](https://forum.dynamobim.com/t/levels-names/3519 "2016-03-23T10:27:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![javier\_baigorri](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@javier\_baigorri](https://forum.dynamobim.com/u/javier_baigorri)\
**Post date:** [March 23, 2016, 10:27am UTC](https://forum.dynamobim.com/t/levels-names/3519/1 "2016-03-23T10:27:48Z")

</div>

Hi all, I want to do a filter with a list. **Maybe List.Map** , No idea. I got all the walls in the model . With **wall.GetParameterValueByName[“Base Constraint”];** I got all the levels with **Elemen.Name** Because this list return all the objects like a **Revit.Elements.Level**. I don’t have problem here. I try to do the same with the parameter “Top Constraint” With **wall.GetParameterValueByName[“Top Constraint”];** I would like to get all the levels with **Elemen.Name** Because this list return different objects like a **System.String** and **Revit.Elements.Level.** The walls that not have Top Constraint return **“Unconnected”** like a String Object. I would like to do a filter to access only to the objects which are **Revit.Elements.Level** and get there **Elemen.Name** and **Level.Elevation**. Somebody knows any useful “node”, maybe List.Map or List.FilterByBoolMask. Thanks

 ![levels names](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/d/d45dcb4a4a8752f1615819a52156c0c429b65648.jpg)

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [March 23, 2016, 10:40am UTC](https://forum.dynamobim.com/t/levels-names/3519/2 "2016-03-23T10:40:08Z")

</div>

Hello Javier,

&nbsp;

Filter.ByBoolMask is what you need:

 ![filter 2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/b/ba60274183044e2f22bfa4d9bf91e3d612cdb568.png)

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [March 23, 2016, 10:53am UTC](https://forum.dynamobim.com/t/levels-names/3519/3 "2016-03-23T10:53:16Z")

</div>

Hi Javier,

You can use some custom nodes to get filter elements parameter value containing “Unconnected”. See below example.

 ![Untitled](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/c/cc5a10021c3119f2d31899f95bb4c9678c157c79.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [March 23, 2016, 10:55am UTC](https://forum.dynamobim.com/t/levels-names/3519/4 "2016-03-23T10:55:32Z")

</div>

It seems i and Mostafa replied at same time

![:)](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/1X/d5c707ea9e8f1bbd0c95a662c6d01970d3453729.gif)
