Joining Curves

Hi
I am trying to join multiple aligned Detail Curves coming from Revit. I wish to measure the absolute length and to divide it in equal parts.

All nodes I found had issues joining the lines.

When I use Curve.ApproximateWith ArcAndLineSegments I get this warning:
Warning: No function called ApproximateWithArcAndLineSegments on a Revit.Elements.DetailCurve that takes __array could be found

With PolyCurve.ByJoinedCurves:
Warning: One or more of the input types are not matching. Couldn’t find a version of ByJoinedCurves that takes arguments of type (__array)

And with Curve.ToNurbsCurve:
Warning: No function called ToNurbsCurve on a Revit.Elements.DetailCurve that takes __array could be found

How do I resolve the array issue?

1 Like

I just solved it myself. It was a stupid mistake. Dynamo has to turn the elements into readable curves with CurveElement.Curve

See here:

1 Like