Modify elements of a list at given indexes

I need to reverse only some curves of a list.
I do know their indexes ( in my case 0,1,17,18)
I am struggling, I made it in a very long way, too silly yo be happy with.

There must be a more clever one :slight_smile:

Basically, given a list, I want to take some elements of it (by index), modify them and re-insert at the same index.

Thanks in advance.

You don’t need this: select your items and apply your modifications. The initial list will be automatically updated…

1 Like

Thanks! would you be so kind to show an example?

I can’t right now (but maybe someone else can). Simply use the node GetItemAtIndex to select the items you want to modify

1 Like