# List.GetItemAtIndex has an error

**URL:** <https://forum.dynamobim.com/t/list-getitematindex-has-an-error/102769>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [July 15, 2024, 5:25am UTC](https://forum.dynamobim.com/t/list-getitematindex-has-an-error/102769 "2024-07-15T05:25:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![leanhtien.hutech](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@leanhtien.hutech](https://forum.dynamobim.com/u/leanhtien.hutech)\
**Post date:** [July 15, 2024, 5:25am UTC](https://forum.dynamobim.com/t/list-getitematindex-has-an-error/102769/1 "2024-07-15T05:25:44Z")

</div>

Hello I am using Revit 2023, Dynamo 2.13  
For some reason List.GetItemAtIndex didn’t execute correctly?  
Can someone give me a solution  
Thank

 ![1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/d/cd0758457d367f12495ad2d16fa07b1c938a982f.png)  
 ![2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/2/f2d00e6f838b247ab0e482f6c87546eec194b6ca.png)

---

<div class="post-metadata">

**Author:** ![sjafarali75](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sjafarali75](https://forum.dynamobim.com/u/sjafarali75)\
**Post date:** [July 15, 2024, 5:40am UTC](https://forum.dynamobim.com/t/list-getitematindex-has-an-error/102769/2 "2024-07-15T05:40:52Z")

</div>

Hi @liam.meisingerMcgee , Can you set “List.GetItemAtIndex” to longest lacing?

---

<div class="post-metadata">

**Author:** ![leanhtien.hutech](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@leanhtien.hutech](https://forum.dynamobim.com/u/leanhtien.hutech)\
**Post date:** [July 15, 2024, 6:06am UTC](https://forum.dynamobim.com/t/list-getitematindex-has-an-error/102769/3 "2024-07-15T06:06:36Z")

</div>

I tried but the result is still the same

 ![3](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/9/b9b832c493f6b2016b60201e49ab6650c2a1f5ec.png)

---

<div class="post-metadata">

**Author:** ![sjafarali75](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sjafarali75](https://forum.dynamobim.com/u/sjafarali75)\
**Post date:** [July 15, 2024, 6:51am UTC](https://forum.dynamobim.com/t/list-getitematindex-has-an-error/102769/4 "2024-07-15T06:51:36Z")

</div>

Try without leveling and set to the longest lacing. If you still can’t achieve it, could you copy and paste and try with that?

---

<div class="post-metadata">

**Author:** ![leanhtien.hutech](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@leanhtien.hutech](https://forum.dynamobim.com/u/leanhtien.hutech)\
**Post date:** [July 15, 2024, 7:58am UTC](https://forum.dynamobim.com/t/list-getitematindex-has-an-error/102769/5 "2024-07-15T07:58:39Z")

</div>

I found the cause, it was because I installed the [Orchid package](https://github.com/erfajo/OrchidForDynamo) with the wrong version, which led to conflicts and incorrect results. I uninstalled Orchid and the results ran correctly.  
Thanks @sjafarali75 for assisting me
