Replace List with No Items

Hi, I’m trying to replace lists that have no items with items from branches of the same number from another list, like replacing the empty {6} on the right with {6} on the left in the screenshot below. How can I do this?

Thanks in advance!

This could be one way…


replace_re_v1.gh (9.1 KB)

2 Likes

It works! Thank you.