Really Annoying Problem with Surface Edges being Split

Hi, I was wondering if there was a good way to avoid this or workaround to go back to previous state.

Basically when I extract edges from surface they are splitted.

Workflow is as follows:

Have separate Polysurfaces → Boolean Union → Explode Faces → Extract Edge (ERROR).
(Don’t ask me why I make boolean union and then explode, I need to do it).

Red is the edge I want, its the edge from the white polysurface. It works OK

After doing a boolean union and an explode, the edge is splitted.

Is there any command like simplify surface edges or something like that to get the edge to by a single continuous line?

This is the surface after the workflow, you can see Solid Points it has one new point. Which is not necessary at all.

Try MergeAllEdges on the polysurface (before exploding), or MergeEdge to pick individual edge pairs.

– Dale