Remove Empty List with List.Clean

Trying to remove this empty list in my Room.FinishBoundary but cant seem to get it cleaned out so it will run through all my rooms what as I missing?

Use a List.IsEmpty node and a FilterByBooleanMask node to get ride of it

You’re cleaning the list of Rooms, not their boundaries. You may have unplaced rooms that are giving you empty lists. Run the List.Clean node after you’ve gotten boundaries. However, if you need to filter out the rooms without boundaries later on I would follow @SeanP’s advice and use a mask.

1 Like