Center of a Column to Nearest Opening Edge

Hi,
Is it possible to get the distance from the center of a column to the nearest opening edge using OOTB nodes? The script filters the vertical opening edges but the Geometry.DistanceTo node is giving me incorrect distances.



column finds nearest opening edges.dyn (73.0 KB)

The python script shows a non-uniform output on the list levels (4 items, 2 items, 4 items), but the cross product on the DistanceTo node is outputting clusters of 3 items. The cross product final count is also suspect.