Controlling Windows in Grasshopper

This is a complex subject that depends on various constraints that are not specified in your question or model. How many windows horizontally? How many floors? Min/max horizontal distance from edges? Orientation of your surfaces? Etc.

Here are a couple of threads that touch on aspects of this issue: