Hello, this can be done with the shell tool.
Right now I don't have the time to explained step by step, but the idea is simple, create a extruded shell next to the wall then in elevation use the create hole in shell and define contour functions to create what you need.
You can see the Shell videos in the archicad youtube channel to learn all these tricks of the shell tool (which is a very flexible tool).