Polyline from a list of lines


I have a list of lines (and curves and arches) and I would like to create polylines from each sublist. Item 0 to 7 in List 0 (as you can see in the image) should be one polyline, item 0 to 5 in List 1 should be one, and so on… Any ideas?


will give you polycurves and not polylines(series of lines).
Which ones do you want?

Use the PolyCurve.ByJoinedCurves. http://dictionary.dynamobim.com/#/Geometry/PolyCurve/Create/ByJoinedCurves

Thanks :slight_smile: I wanted polycurves, so this was perfect!