Unable to Create Rebar from Curve

Im trying to Create a rebar from the Curves of this family. I tried suing Follow Surface but the family is modelled as segments (9) so it gets curves per segment. I tried extracting and joining the points on all the curves as one curve but I get this error now. sometime I will get polycurve branching error( ive tried changing the geometry range) , sometime I would get BSpline not implement error.temp.dyn (75.3 KB)

the segments in Dynamo but it wasn’t possible.