Join points with a polyline instead of a spline

Hi all!
I’ve tried to find a node wich joins points with a polyline instead of a spline (i.e. nurbscurve).
POLYLINE

Does there is a node that gives a poliline like the red line in the picture and not an spline between the points?

I think what you’re looking for is PolyCurve.ByPoints

3 Likes