We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.

[SOLVED] Corner window oversize

ReignBough
Enthusiast
I am trying to get the length of the "excess" frame that a corner window created. I found value on ac_right_oversize. Based on this, it is on the "right" side of the window. But how will I know if it is "really" on the right or left side of the window? Am I getting the right info or is it on other parameter?


window oversize.png

~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
2 REPLIES 2
Barry Kelly
Moderator
The 'left' and 'right' terminology for windows is not very good.
The problem is a windows direction is chosen by the last click when placing the object.
So it should really be 'side 1' and 'side 2' or as I refer to them in my window objects 'placement side' and 'other side'.

So the placement side (left as the window is scripted) can be on the left side of the opening when placing the window or the right side of the opening as you have shown in the image you attached.
They are the same window but one is mirrored so the left is on the right and vice versa - but the left side now on the right is still referred to as the 'left' side.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
ReignBough
Enthusiast
Thank you for the reply Barry. I am now also checking the openingBase.reflected so that I can "swap" the values of ac_right_oversize and ac_left_oversize.
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS