Drawing rebar shapes in detailing view

Hey, I’ve found the problem, my Dynamo version on Revit 2023 just don’t work, i just rebuild the entire thing on Dynamo from Revit 2022 and it worked, whoever the output is a bunch lines and arcs (Since Revit can’t handle polycurves). Is there a way to join the output in a single line inside Revit? Like a polyline/spline? I can group the elements output but every time I run the script again Revit creates a new group, so I think this is not the right approach