When you convert to Polycurve you are creating a curve which has more segments based on the .ToArcsAndLines method. For this curve you can simply do the following:
A = x.DuplicateSegments();
ExampleDupSegs.gh (9.3 KB)
When you convert to Polycurve you are creating a curve which has more segments based on the .ToArcsAndLines method. For this curve you can simply do the following:
A = x.DuplicateSegments();