Select all indexes in list

hi all I am trying to select all indexes without writing 0…4; something like writing all;
image

You can get the indexes of the list inside code block this way and then use GetItemAtIndex node:

0..DSCore.List.Count(c)-1

3 Likes

You have to apply the node Count to the list you’re working. Then, to the node Count, you apply the node Sequence, that will make a list of the numbers that form indexes. Last, you do what you did in index.

1 Like