# Item at list index changes every time

**URL:** <https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [January 31, 2022, 1:03am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788 "2022-01-31T01:03:11Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![rissasyafutri](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@rissasyafutri](https://forum.dynamobim.com/u/rissasyafutri)\
**Post date:** [January 31, 2022, 1:03am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/1 "2022-01-31T01:03:11Z")

</div>

Hi guys, i got a problem with the list.ItemAtIndex here. every time i restart dynamo, the list in the index change. I need to get an “A” info but when i quit dynamo and run in another time, index “A” changes into index “Z”. I don’t get it. Would appreciate any help! Thanks

 ![bandicam 2022-01-31 07-53-50-482](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/3/e3fb393715d750537ca2162b126b23d0855965d0.jpeg)  
[dynn.dyn](https://forum.dynamobim.com/uploads/short-url/mXSw8QHaaWUqBGGMxtQY0hj7eNl.dyn) (17.1 KB)

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [January 31, 2022, 3:01am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/2 "2022-01-31T03:01:40Z")

</div>

Hi @rissasyafutri ,

You could try with automated way instead of manual input.

Try with exam list name with **contain** or **Index of**.

it will take every time automatically if the index range changes.

---

<div class="post-metadata">

**Author:** ![rissasyafutri](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@rissasyafutri](https://forum.dynamobim.com/u/rissasyafutri)\
**Post date:** [January 31, 2022, 4:50am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/3 "2022-01-31T04:50:17Z")

</div>

Hi Vijay, thank you for your reply. I’m a beginner in Dynamo world, I’ve tried ur solution and not getting any closer to my goal. Would u kindly give a demo? Appreciate it a lot.

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [January 31, 2022, 4:53am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/4 "2022-01-31T04:53:02Z")

</div>

Can you share the .dyn fine with the expected result?

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [January 31, 2022, 4:53am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/5 "2022-01-31T04:53:31Z")

</div>

or show the image with a preview.

---

<div class="post-metadata">

**Author:** ![rissasyafutri](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@rissasyafutri](https://forum.dynamobim.com/u/rissasyafutri)\
**Post date:** [January 31, 2022, 4:57am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/6 "2022-01-31T04:57:28Z")

</div>

Yeah I’ve posted the .dyn and the image here:

> [@Item at list index changes every time](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788):
>
> Hi guys, i got a problem with the list.ItemAtIndex here. every time i restart dynamo, the list in the index change. I need to get an “A” info but when i quit dynamo and run in another time, index “A” changes into index “Z”. I don’t get it. Would appreciate any help! Thanks [dynn.dyn](https://forum.dynamobim.com/uploads/short-url/mXSw8QHaaWUqBGGMxtQY0hj7eNl.dyn) (17.1 KB)

---

<div class="post-metadata">

**Author:** ![rissasyafutri](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@rissasyafutri](https://forum.dynamobim.com/u/rissasyafutri)\
**Post date:** [January 31, 2022, 4:59am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/7 "2022-01-31T04:59:00Z")

</div>

expected result would be “Density : 2407.31 kg/m3”

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [January 31, 2022, 5:07am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/8 "2022-01-31T05:07:17Z")

</div>

Can you show like this… All the nodes previews

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/f/cf2bc5c0d86dd10d49f44162643fbec4fe593106.png)

---

<div class="post-metadata">

**Author:** ![rissasyafutri](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@rissasyafutri](https://forum.dynamobim.com/u/rissasyafutri)\
**Post date:** [January 31, 2022, 5:14am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/9 "2022-01-31T05:14:06Z")

</div>

Here you go

 ![bandicam 2022-01-31 12-12-52-463](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/9/3941e25623667a1abfc1e3d09d4498bd2a4ad05f.jpeg)

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [January 31, 2022, 5:17am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/10 "2022-01-31T05:17:22Z")

</div>

So you need this value right?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/3/03bee7606312cff2440820a572aae1c3efe1cf97.png)

---

<div class="post-metadata">

**Author:** ![rissasyafutri](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@rissasyafutri](https://forum.dynamobim.com/u/rissasyafutri)\
**Post date:** [January 31, 2022, 5:21am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/11 "2022-01-31T05:21:49Z")

</div>

Actually, I need the density value. but yeah in general I need info from physical and thermal properties…

 ![bandicam 2022-01-31 12-19-55-282](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/e/8e54c2cd58a097e218623cede5a4e6312cdbd6e9.jpeg)

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [January 31, 2022, 5:35am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/12 "2022-01-31T05:35:10Z")

</div>

#Orchid package all the nodes you need

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/a/ca10b3d39ee3b5bbb49bf34f4e8abe91a2ec85c9.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/c/dc5050f35e91eaf7435d5b521f307e053b6ac88e.png)

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [January 31, 2022, 6:01am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/13 "2022-01-31T06:01:24Z")

</div>

Did you get what you needed?

---

<div class="post-metadata">

**Author:** ![rissasyafutri](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@rissasyafutri](https://forum.dynamobim.com/u/rissasyafutri)\
**Post date:** [January 31, 2022, 10:25am UTC](https://forum.dynamobim.com/t/item-at-list-index-changes-every-time/72788/14 "2022-01-31T10:25:06Z")

</div>

Yes! This is what I need. Sorry for the late reply, I got a bit of trouble with Orchid installation. Now it works flawlessly. Hopefully, the info won’t change just like the prev problem. Thank you for the input, Vijay. Have a good day!
