We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2020-07-01 09:01 AM - last edited on 2022-09-26 10:50 PM by Daniel Kassai
2020-07-01 09:45 AM
2020-07-01 10:05 AM
!!!WINDOW ORIENTATION !ANGLE1 = GLOB_NORTH_DIR !ANGLE2 = WALL_DIRECTION + SYMB_ROTANGLE + 90 !The Window is 90 deg perpendicular to the wal ! !ANGLE2 = ANGLE2 % 360 ! !ANGLE_DIFF = ANGLE1 - ANGLE2 !IF ANGLE_DIFF > 180 THEN ! ANGLE_DIFF = ANGLE_DIFF - 360 !ELSE ! IF ANGLE_DIFF < -180 THEN ANGLE_DIFF = ANGLE_DIFF + 360 !ENDIF ! !WD_ORIENT = "" ! !IF ABS(ANGLE_DIFF) <= 22.5 THEN WD_ORIENT = "N" !IF ANGLE_DIFF > 22.5 AND ANGLE_DIFF <= 67.5 THEN WD_ORIENT = "NE" !IF ANGLE_DIFF > 67.5 AND ANGLE_DIFF <= 112.5 THEN WD_ORIENT = "E" !IF ANGLE_DIFF > 112.5 AND ANGLE_DIFF <= 157.5 THEN WD_ORIENT = "SE" !IF ANGLE_DIFF > 157.5 AND ANGLE_DIFF <= 180 THEN WD_ORIENT = "S" !IF ANGLE_DIFF < -22.5 AND ANGLE_DIFF >= -67.5 THEN WD_ORIENT = "NW" !IF ANGLE_DIFF < -67.5 AND ANGLE_DIFF >= -112.5 THEN WD_ORIENT = "W" !IF ANGLE_DIFF < -112.5 AND ANGLE_DIFF >= -157.5 THEN WD_ORIENT = "SW" !IF ANGLE_DIFF < -157.5 AND ANGLE_DIFF >= -180 THEN WD_ORIENT = "S" ! !PARAMETERS gs_list_custom5 = WD_ORIENT
2020-07-01 01:13 PM
Barry wrote:The issue arises when we have double windows where we want P as in pair instead of left or right. It could be pretty much anything. We've solved it by not using the automatic orientation but instead using a manual property. This is not fun on the larger projects with gazillions of objects.
Short answer - no.
Longer answer - when you place a window you choose the position in the wall (the reveal side) and then the direction the window faces (inside/outside) and orientation (left/right).
So even though you create a custom window that opens on one side, you can still place it with the orientation so it opens from the other side.
So it can still be a left or right handed window.
The autotext and schedules use this orientation and it is not parameter or variable you can set as a user as it simply reflects how you place the window in plan.
Barry.
2020-07-02 03:40 AM
2020-07-02 08:35 AM
Barry wrote:You're right it doesn't seem to work in 22. For "normal" windows there is an automatic/individual setting and that's what I would like for our custom ones as well but I have no idea how to do it or even if it's possible. Need to check with GS.
There was a time when you could set custom values for the orientation, but that doesn't seem to work any more.
So in your case you could have you could have "L" and "R" both changed to "P" (of course this would affect all placed windows even if not in a pair - if it worked).
But it doesn't seem to work any more.
It used to in older versions I am sure.
But definitely not since 22.
There is maybe another parameter but it seems to only work with doors.
ac_OpeningSide
I have not really investigated it, but here is a post where it was discussed.
https://archicad-talk.graphisoft.com/viewtopic.php?f=6&t=66085
Barry.
2020-07-02 10:33 AM
Mats_Knutsson wrote:
You're right it doesn't seem to work in 22. For "normal" windows there is an automatic/individual setting and that's what I would like for our custom ones as well but I have no idea how to do it or even if it's possible. Need to check with GS.
2020-07-02 12:28 PM
2020-07-09 02:04 PM
Minh Nguyen
Technical Support Engineer
GRAPHISOFT