How to get the wireframe curve or guide curve by rhinopython

in the above figure, the vertical lines that guide the surface,
I want to know how to select those curves or how to get those curves by rhino python.
ps. getting the control points, of top curve and bottom curve and connecting those for the line did not work. the start point in top and bottom is different which create the curve like picture I post here.