flatten autocad lines