Creating New Data Tree using Existing Data Tree and Conversion Rules

Hello,
Can anybody help me figure out how this type of operation should be carried out?

Hello,

There are several solutions, see two attached using Match Text or Key/Value Search.

Both require the two sides of the “rules” to be fed as lists.

ReplaceItemTree.gh (12.9 KB)

1 Like

Both approaches are very clever!.. and much better than the mess of nested IF statements I was about to write into an expression component.
I’m curious how you managed to add the +1 output to the List Item component?
Thanks again; this has helped a lot.

Zooooooooom ! :smiley:

image

1 Like

:smiley:… Brilliant! thanks.