Delete/Cull <empty> branches

Hi,
Challenge:
There is a tree with 1 (or more) branches which are .
I would like to delete the entire branch with the , and keep all other branches (with the same branch name).

Do you have any suggestions?

Thank you :slight_smile:

2020-04-12 Delete empty branch.gh (5.4 KB)

Isn’t that what Clean Tree does?

Hi,
Unfortenatle not. Clean tree does everything except deleting, empty items

If you have any suggestions please let me know :slight_smile:

Thanks

CleanTree cull EmptyBranches but what we have here are branches with EmptyItem:


EmptyText.gh (17.1 KB)

Perfect, Thanks! :+1: :slight_smile: