Multiple welds at the same time?

Is it possible to do a massive weld?

I work with files where many many houses are ach build up out of several lines. Is there a way to weld all these houses at the same time?