@Balko See if this works for you ClosestGridIntersection.dyn (18.8 KB) ClosestGridIntersection.rvt (1.3 MB)