Bimorph Element Intersection Result unexpected result

I’m using the Bimorph package to analyse intersections of elements in a linked model against walls in my model, but I seem to be missing an item from the list.

I have 349 intersection results (which is correct, I’m running in 349 elements), but only 348 items in the intersecting elements list.
I’m assuming this means there is an instance of an element not intersecting a wall, which is good to know, but I would prefer an empty list than simply removing the item, as I now can’t combine it back with the mark of the element and write it to excel, as I don’t know which element is missing.

Am I getting the wrong end of the stick?

It does give you an empty list. You should check the indexing of both lists.
It does not count empty list as an element. By looking at these snaps you can understand what I am trying to say.


Ok, sorry I misinterpreted then.
However, when flattening the list, the empty list disappears?
Do I need an additional step to replace empty lists before flattening?

I think you can use **List.IsEmpty @L2** immediately after **Result.IntersectingElements** to get boolean values. Then, use these values to filter elements from the main list, which has 349 elements, along with filtering the Result.IntersectingElements list. Once that’s done, you can continue with the flattening process.

Thanks, but I don’t actually want to filter them out, I want the full list of 349 instances, that I can then cross reference with another list.
I’ve now used the Clockwork node List.ReplaceEmptyLists to replace empties with “”, so it technically has a value.

Use whatever fits your needs. The “Filtered List” contains two sets: one with items that meet the condition (labeled “IN”), and another with items that don’t (labeled “OUT”). You can perform operations based on your requirements using either of these lists as well

1 Like