Replace every nth Item with at item from another list

Hello!
I’m trying to combine 2 lists so that the X in the first list is replaced by a number from another list. See attached screenshot. Basically what I want is:

A
B
C
101

A
B
C
102

A
B
C
103
etc.

I feel like this should work, but it doesn’t! Any ideas on how to resolve?

Thanks!

Not sure what error you’re getting but ReplaceItemAtIndex doesn’t work recursively anyway. Search through the forum for related posts. There are workarounds (mostly in python I believe) and custom packages that will be able to get you what you’re looking for.

Not sure why the OOTB node fails. I tried almost everything I could but couldn’t make it work.

Nodes from Clockwork or BIM4Struc.Productivity would help you achieve the desired result

Ah hah, that was it! The Clockwork one worked beautifully.

Thank you!

1 Like