Selection of Line

Hi

I have two lines in sketch such that its start points and end points are the same. I need to delete one of the line as they are overlapping. Is there any selection object which allows me to select either one of them. When I try with Select and then use model.extension.deleteselection; both the lines get deleted. Does anyone has a solution for this issue?

Thanks & Regards,

Rejo Jayaraj

SolidworksApi macros