LineCurve casts to PolylineCurve

Hi,

I’m experiencing some strange behavior where a LineCurve object is changed to a PolylineCurve object when moving the control points for the line. Is this the intended behavior?

The line is still recognized in Rhino as a line.

CastToPolylineCurve

LineCurveToPolylineCurve.gh (5.2 KB)