How extract edges of wall by dynamo

Hello dear. I want to extr



at edge of wall by dynamo . By the bellow workflow I extrat middle line of wall but I need exterior like the picture. Can you help me about that?

@f.saeedian

check out this topic