Fill-in item - if data Path is blanc

Question: There is a data tree with several branches.
I would like to ‘insert’ data into the branches which are ‘blank’

Any suggestion?


2023-04-28 Fill-in items - only in blanc - Paths.gh (4.9 KB)

Many thanks


2023-04-28 Fill-in items - only in blanc - Paths_re.gh (12.7 KB)

2 Likes

Hi Kim,

Thanks!
This works indeed.
However my gut feeling would say that there is a more straight forward manner?

like ‘insert’ item at 0, hereafter select only the ‘Last’ item.
unfortunately the ‘insert’ component does not word when a Path is fully blanc.

Anny suggestion to keep this action quit small/direct? :slight_smile:

I’ve got a three boxes solution with Weave.

Weave.gh (10.3 KB)

1 Like

use this trick with Combine to add null and then Replace null.

2 Likes