I understand the problem are the dimensions. Their values are right but they are placed in the wrong spot. I have been trying to figure out what could be causing it and it seems like the _vaOpeningElevation only places the dimensions correctly when, in the gh definition, the opening profile is horizontally centered in the point (0,0,0) and is vertically laying in the plane z=0 (see the example attached).
hi @alfmelbev the problem of dimensions location Solved
but that the windows are all from the type of W1 type, is the bug?
[28+KafWinBrepOrMesh.gh|attachment]
Is it possible that you created the Elevation Openings before modifying the window?
When you run the _vaOpeningElevation command, if the openings had no tags, then a tag is assigned automatically to each opening depending on their style and dimensions. So, if the windows are identical when you create the elevations, the tag will be the same for both of them.
Anyway, you can modify the tag manually at any time here (take into account you will need to update the opening elevations):