Convert Line to Curve

ModelCurve.ByCurve node solved my problem.