Adaptive points + NurbsCurve.ByControlPoints

I have a bunch of adaptive points in Revit and would like to bring them in into Dynamo and run a NurbsCurve.ByControlPoints through them. The following try failed for me, please correct me here.

This may help:


input of “NurbsCurve.ByPoints” is Dynamo geometry.

So you need to extract point from ref.points using element.Geometry node. use it as your nurbscurve input.


It worked, thanks guys.
The loft seems to break when I get the points higher.
Does anyone have a better way of lofting these curves so that the lofting doesn’t fail?

Revit Surface.rfa (492 KB)
Surface Loft.dyn (11.0 KB)