also you can try just get Element.Geometry of dwg import instance, it reads DWG Polylnes as Dynamo Polycurves: