Revit/Dynamo - Adaptive Family Tunnel Modelling

Hi,

I’m trying to create an adaptive family (3-point tunnel) that connects along a Civil 3D alignment, which I have converted into an Excel file.

I’ve successfully obtained the coordinates and generated the line, but I’m struggling to figure out how to make each point of the adaptive family connect to a point on the line. My goal is to create a continuous tunnel along the alignment.

Any help or pointers would be greatly appreciated!

6m Tunnel Part 01.xlsx (19.3 KB)
6m Tunnel Segment.rfa (812 KB)
Tunnel Modelling Script - Tunnel Section.dyn (86.3 KB)