Replace By Condition (with Any List Structure)

Design Script in its current form is just not capable of handling these types of list structures. The only option is to know the rank of the input in advance and manually apply replication strategy to match that rank:

If you can’t guarantee the rank of your input, your only other option is to normalize the rank, loosing the original list structure.

1 Like