Ah yes it is failing because you need to modify the code block like I described here:
This is the part you want to change - rather than applying curtain grids at points across the location line, you need to construct a line on the curtain wall in the Z direction. Try changing the code block to this: