Get perimeter of a building

OK so I used this thread:

To get the perimeter:
image

But now I need the faces of the walls… I reckon maybe get surfaces and keep the ones that clash?