# How to get only the first Item from each list of parameters

**URL:** <https://forum.dynamobim.com/t/how-to-get-only-the-first-item-from-each-list-of-parameters/85238>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [January 23, 2023, 2:43pm UTC](https://forum.dynamobim.com/t/how-to-get-only-the-first-item-from-each-list-of-parameters/85238 "2023-01-23T14:43:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SdinizF](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@SdinizF](https://forum.dynamobim.com/u/SdinizF)\
**Post date:** [January 23, 2023, 2:43pm UTC](https://forum.dynamobim.com/t/how-to-get-only-the-first-item-from-each-list-of-parameters/85238/1 "2023-01-23T14:43:55Z")

</div>

Hello,

I need get only the first value of a list inside a list.  
Can someone help me? I’m a beginner in Dynamo.  
I tryed to use List.getitematindex but it returns the first list, not the first value of each one.

Thank you!

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/4/94056cfcbc498c476e1a913727c2213cd7b3a4ba.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 23, 2023, 2:55pm UTC](https://forum.dynamobim.com/t/how-to-get-only-the-first-item-from-each-list-of-parameters/85238/2 "2023-01-23T14:55:08Z")

</div>

@SdinizF ,

change listdeepth

or use node firstItem at listdeepth L2

…

 ![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/e/1eaa5cbb544beb8392329bf0bb8ee27c24bbeb40.png)

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [January 23, 2023, 2:57pm UTC](https://forum.dynamobim.com/t/how-to-get-only-the-first-item-from-each-list-of-parameters/85238/3 "2023-01-23T14:57:36Z")

</div>

hello

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

cordially  
christian.stan

---

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [January 23, 2023, 3:04pm UTC](https://forum.dynamobim.com/t/how-to-get-only-the-first-item-from-each-list-of-parameters/85238/4 "2023-01-23T15:04:04Z")

</div>

Use the out of the box node “List.Get Item at Index”  
NOTE: Be aware that Dynamo starts at zero, not one for counting  
Insert a Watch node so you can see the results in any of your scripts as well.

 ![List](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/c/accfdc4783678859526503836a202593f0ef2818.jpeg)

---

<div class="post-metadata">

**Author:** ![SdinizF](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@SdinizF](https://forum.dynamobim.com/u/SdinizF)\
**Post date:** [January 23, 2023, 4:53pm UTC](https://forum.dynamobim.com/t/how-to-get-only-the-first-item-from-each-list-of-parameters/85238/5 "2023-01-23T16:53:14Z")

</div>

Thank you all, I didn’t know how to enable “Use levels” on list nodes.

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [January 23, 2023, 6:09pm UTC](https://forum.dynamobim.com/t/how-to-get-only-the-first-item-from-each-list-of-parameters/85238/6 "2023-01-23T18:09:25Z")

</div>

Here is a [good read](https://dynamobim.org/introducing-listlevel-working-with-lists-made-easier/)  
[Tutorials video](https://dynamobim.org/)

cordially  
christian.stan
