Script to select all edges and merge

 From:  Michael Gibson
10861.2 In reply to 10861.1 
Hi Peticel, you can select the entire object and then run the Merge command. After selecting the object, push the Tab key, then type merge then push Enter.

Only areas where there are 2 edges meeting that are tangent to each other can be merged.

- Michael