How not to do the wall splitting through the openings?

Hello @abdullah_rezk_mohame and welcome…its best you show what you have tried so far…please read here…How to get help on the Dynamo forums

But something here could give you a start…

Revit_VCx6AtrnTN

and something here with parts and refplanes…