How to Convert a Revit API ModelCurve to a Dynamo Curve

I am extracting curves from a model element using Python.

(Why Python, you might ask, and not just Element.Geometry? Because I want to get only certain curves that belong to a specific group from within the family. And there might be other reasons. )

Now, The Python output comes of type ModelCurves.

I would like to use these curves for some geometrical operations within Dynamo.
However it looks not possible. Dynamo expects native-Dynamo Curve types.

Is it possible to convert the API ModelCurves back to a Dynamo-native Curve type somehow?

1 Like

Ah nice. Pretty simple idea :slight_smile: Somehow I didnt make that link myself. thank you!