# Using GetItemAtIndex, with an Index-list existing of nested lists

**URL:** <https://forum.dynamobim.com/t/using-getitematindex-with-an-index-list-existing-of-nested-lists/3654>\
**Category:** Packages\
**Created:** [April 6, 2016, 9:09am UTC](https://forum.dynamobim.com/t/using-getitematindex-with-an-index-list-existing-of-nested-lists/3654 "2016-04-06T09:09:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lennart](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@Lennart](https://forum.dynamobim.com/u/Lennart)\
**Post date:** [April 6, 2016, 9:09am UTC](https://forum.dynamobim.com/t/using-getitematindex-with-an-index-list-existing-of-nested-lists/3654/1 "2016-04-06T09:09:43Z")

</div>

Hi, please check this example:

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/1/1289fdcc33dc648b001f3b8f1fe44aa01e785aff.png)

How can I, in a GetItemAtIndex sort of way, pick the second list from the first, resulting in:

Index [2] from list [0]

Index [0] from list [1]

Index [1] from list [2]

![Capture2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/5/5a92eec51abfdf4f6c5926f41e5c9f46b358c8f4.png)

GetItemAtIndex doesn’t work, as it seems to discard the nested Index-list:

 ![Capture3](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/7/777adb86bae678e5c0a03185e86c8e8d867b12b2.png)

Thanks in advance. I’m using version 0.9.2 in Revit 2016 btw.

---

<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:** [April 6, 2016, 10:02am UTC](https://forum.dynamobim.com/t/using-getitematindex-with-an-index-list-existing-of-nested-lists/3654/2 "2016-04-06T10:02:44Z")

</div>

Hi Lennart ,

List combine does what you want :

 ![item at index](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/7/7a53d1fffe97434d07d2294e62589c015a4f5a84.png)

---

<div class="post-metadata">

**Author:** ![Lennart](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@Lennart](https://forum.dynamobim.com/u/Lennart)\
**Post date:** [April 6, 2016, 12:32pm UTC](https://forum.dynamobim.com/t/using-getitematindex-with-an-index-list-existing-of-nested-lists/3654/3 "2016-04-06T12:32:07Z")

</div>

Thanks, this works exactly as I wanted!

Haven’t used this node before.

&nbsp;

Thanks again.
