# Extract different geometries of a list

**URL:** <https://forum.dynamobim.com/t/extract-different-geometries-of-a-list/4107>\
**Category:** Lists-Logic\
**Tags:** revit\
**Created:** [May 21, 2016, 11:55pm UTC](https://forum.dynamobim.com/t/extract-different-geometries-of-a-list/4107 "2016-05-21T23:55:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JAVIER\_FQG](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/javier_fqg/32/12608_2.png) [@JAVIER\_FQG](https://forum.dynamobim.com/u/JAVIER_FQG)\
**Post date:** [May 21, 2016, 11:55pm UTC](https://forum.dynamobim.com/t/extract-different-geometries-of-a-list/4107/1 "2016-05-21T23:55:07Z")

</div>

Hi all¡

I´m new in this world of Dynamo, it is fascinating¡. I have a problem with a very long list with many types of geometries (well actually I only have 2 types; surfaces and lines). I want to extract of the list all the surfaces. ¿How can i do that? I found many answers for working with elements…but now are different geometries so I am a little bit lost…

Thx¡¡¡

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/0/0cfc0c6df4aafca67f1e84f7900ed9d44533d522.jpg)

---

<div class="post-metadata">

**Author:** ![Hyun\_Tak](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hyun_tak/32/8510_2.png) [@Hyun\_Tak](https://forum.dynamobim.com/u/Hyun_Tak)\
**Post date:** [May 22, 2016, 12:50am UTC](https://forum.dynamobim.com/t/extract-different-geometries-of-a-list/4107/2 "2016-05-22T00:50:39Z")

</div>

@JAVIER_FQG

You need to put the node “==” ( if value equals 1 or 0) to get " true" or " false" values.  
“List.FilterbyBoolMask” needs “true” or " false" value list.

---

<div class="post-metadata">

**Author:** ![Michael\_Kirschner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/michael_kirschner/32/237_2.png) [@Michael\_Kirschner](https://forum.dynamobim.com/u/Michael_Kirschner)\
**Post date:** [May 22, 2016, 1:50am UTC](https://forum.dynamobim.com/t/extract-different-geometries-of-a-list/4107/3 "2016-05-22T01:50:07Z")

</div>

I would use a groupby node of some kind and then use the object.type node to do group the items by their type.

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [May 22, 2016, 3:50am UTC](https://forum.dynamobim.com/t/extract-different-geometries-of-a-list/4107/4 "2016-05-22T03:50:50Z")

</div>

You could use an approach similar to this …  
[Separate "arc" and "lines"](https://forum.dynamobim.com/t/separate-arc-and-lines/4067/3)?

---

<div class="post-metadata">

**Author:** ![JAVIER\_FQG](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/javier_fqg/32/12608_2.png) [@JAVIER\_FQG](https://forum.dynamobim.com/u/JAVIER_FQG)\
**Post date:** [May 22, 2016, 2:19pm UTC](https://forum.dynamobim.com/t/extract-different-geometries-of-a-list/4107/5 "2016-05-22T14:19:26Z")

</div>

Thx all of you by your answers…Hyun\_Tak your answers works well but the one that Vikram\_Subbaiah provide is amazing¡¡

Thx a lot guys.
