collinear line segments

 From:  saltab
11507.1 
Hi all,

Does anybody know a quicker way to clean up 2D drawings where there are lots of lines made of single segments?

Initially I was using the Join command followed by Show Points, and then select and delete the points in the middle. Then I found out that was better to do a Rebuild after Join.

By the way, the annoying part is that I have to select the single lines, which is quite time consuming, because if i just select everything and launch the command Join, it will also convert connected lines into Polylines, which is something I don't want.

Any ideas or possible script?

Thanks!
Salvatore