Issue creating curve in Revit using Dynamo

Hi,
I am working on importing Civil 3D Track alignment into Revit. I have have exported the coordinates in excel format in Civil 3D. By using the dynamo i have created the points and nurbscurve to join them. However if its straight line I didn’t find any issue. However when its at the curve It is considering straight line instead of curve. I have attached images for reference
Capture 1 & 2 are the output from dynamo
Capture 3 is the actual curve in the Civil 3D
Capture1

Capture 3 ALIGNMENT-3D.dyn (31.1 KB)