I did a similar type of study on WWR by writing the window coordinates using the parametric variables directly in energyplus.
A different approach, but you might be able to get what you want by combining these approaches?
FenestrationSurface:Detailed,
f1:PerimeterN_NorthWindow, !- Name
Window, !- Surface Type
ExteriorWindow, !- Construction Name
f1:PerimeterN_NorthWall, !- Building Surface Name
, !- Outside Boundary Condition Object
, !- View Factor to Ground
, !- Shading Control Name
, !- Frame and Divider Name
, !- Multiplier
4, !- Number of Vertices
=$Length-0.05, =$Width, =$Height/2+$WWRNorth*$Height/2,
!- X,Y,Z 1 {m}
=$Length-0.05, =$Width, =$Height/2-$WWRNorth*$Height/2,
!- X,Y,Z 2 {m}
0.05, =$Width, =$Height/2-$WWRNorth*$Height/2,
!- X,Y,Z 3 {m}
0.05, =$Width, =$Height/2+$WWRNorth*$Height/2;
!- X,Y,Z 4 {m}
__._,_.___