Transform lines into curves

Good evening. I have a series of lines in succession and I would like to use a command that joins them all into one like PolyCurve.ByJoinedCurves does with a series of curves. I would then like to associate a particular profile with this single line. Can anyone help me?
PS: I don’t know how to use python :frowning:

No conversion necessary. Lines are a type of Curve that have no curvature. Anything that uses Curves will accept Lines but not necessarily the other way around.