How to get curves from a .dwg?

@c.poupin ,

the code works well , when i have a clean and not overlapping line…

E02_SoloCurveAirSegment.dwg (137.1 KB)

is there a comment in autocad like OverKill ? to clean my .dwg ?

KR

ANdreas