Autodesk.DesignScript.Geometry.Curve not work with cPython3 Revit 2023

Hi All
the methd (Curve) can not find in (Autodesk.DesignScript.Geometry) when i call in in Cpython3 Revit 2023
Autodesk.DesignScript.Geometry.Curve

image
i need to curve from line as shown in the below link:

Hi @RMohareb ,
Autodesk.DesignScript.Geometry.Curve is a Class (not a method) and the constructor is not public
a Line is already a Curve, (inheritance), why you need to convert it ?

image

4 Likes