<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hard code custom window opening direction? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256514#M4597</link>
    <description>There was a time when you could set custom values for the orientation, but that doesn't seem to work any more.&lt;BR /&gt;
&lt;BR /&gt;
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).&lt;BR /&gt;
But it doesn't seem to work any more.&lt;BR /&gt;
It used to in older versions I am sure.&lt;BR /&gt;
But definitely not since 22.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
There is maybe another parameter but it seems to only work with doors.&lt;BR /&gt;
&lt;BR /&gt;
ac_OpeningSide&lt;BR /&gt;
&lt;BR /&gt;
I have not really investigated it, but here is a post where it was discussed.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://archicad-talk.graphisoft.com/viewtopic.php?f=6&amp;amp;t=66085" target="_blank"&gt;&lt;LINK_TEXT text="viewtopic.php?f=6&amp;amp;t=66085"&gt;https://archicad-talk.graphisoft.com/viewtopic.php?f=6&amp;amp;t=66085&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
    <pubDate>Thu, 02 Jul 2020 01:40:17 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2020-07-02T01:40:17Z</dc:date>
    <item>
      <title>Hard code custom window opening direction?</title>
      <link>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256510#M4593</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;When I model a window and save the library part as a window... is there a way to open the object and hard code opening direction so I can use that parameter in schedules and labels?&lt;BR /&gt;Best,&lt;BR /&gt;Mats&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EDIT: I was really clumsy writing orientation as in north south... when I was meaning hanging/direction left/right etc. Sorry for that!&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Sep 2022 20:50:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256510#M4593</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2022-09-26T20:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hard code custom window orientation?</title>
      <link>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256511#M4594</link>
      <description>Short answer - no.&lt;BR /&gt;
&lt;BR /&gt;
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).&lt;BR /&gt;
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.&lt;BR /&gt;
So it can still be a left or right handed window.&lt;BR /&gt;
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.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 01 Jul 2020 07:45:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256511#M4594</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-07-01T07:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hard code custom window orientation?</title>
      <link>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256512#M4595</link>
      <description>similar to what Barry said: short answer - no&lt;BR /&gt;
&lt;BR /&gt;
I use to have the orientation populate a parameter but that was when it was ok to use GLOB_NORTH_DIR in the parameter script.&lt;BR /&gt;
I still have the script in Infinite Openings but as you can see its hidden because the GLOB_NORTH_DIR causes an error:&lt;BR /&gt;

&lt;PRE&gt;!!!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 &amp;gt; 180 THEN
!                ANGLE_DIFF = ANGLE_DIFF - 360
!ELSE
!                IF ANGLE_DIFF &amp;lt; -180 THEN ANGLE_DIFF = ANGLE_DIFF + 360
!ENDIF
! 
!WD_ORIENT = ""
! 
!IF ABS(ANGLE_DIFF) &amp;lt;= 22.5 THEN WD_ORIENT = "N"
!IF ANGLE_DIFF &amp;gt; 22.5 AND ANGLE_DIFF &amp;lt;= 67.5 THEN WD_ORIENT = "NE"
!IF ANGLE_DIFF &amp;gt; 67.5 AND ANGLE_DIFF &amp;lt;= 112.5 THEN WD_ORIENT = "E"
!IF ANGLE_DIFF &amp;gt; 112.5 AND ANGLE_DIFF &amp;lt;= 157.5 THEN WD_ORIENT = "SE"
!IF ANGLE_DIFF &amp;gt; 157.5 AND ANGLE_DIFF &amp;lt;= 180 THEN WD_ORIENT = "S"
!IF ANGLE_DIFF &amp;lt; -22.5 AND ANGLE_DIFF &amp;gt;= -67.5 THEN WD_ORIENT = "NW"
!IF ANGLE_DIFF &amp;lt; -67.5 AND ANGLE_DIFF &amp;gt;= -112.5 THEN WD_ORIENT = "W"
!IF ANGLE_DIFF &amp;lt; -112.5 AND ANGLE_DIFF &amp;gt;= -157.5 THEN WD_ORIENT = "SW"
!IF ANGLE_DIFF &amp;lt; -157.5 AND ANGLE_DIFF &amp;gt;= -180 THEN WD_ORIENT = "S"
! 
!PARAMETERS gs_list_custom5 = WD_ORIENT&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Jul 2020 08:05:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256512#M4595</guid>
      <dc:creator>Kristian Bursell</dc:creator>
      <dc:date>2020-07-01T08:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hard code custom window orientation?</title>
      <link>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256513#M4596</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;
Short answer - no.&lt;BR /&gt;
&lt;BR /&gt;
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).&lt;BR /&gt;
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.&lt;BR /&gt;
So it can still be a left or right handed window.&lt;BR /&gt;
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.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.
&lt;/BLOCKQUOTE&gt;

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.</description>
      <pubDate>Wed, 01 Jul 2020 11:13:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256513#M4596</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2020-07-01T11:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hard code custom window opening direction?</title>
      <link>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256514#M4597</link>
      <description>There was a time when you could set custom values for the orientation, but that doesn't seem to work any more.&lt;BR /&gt;
&lt;BR /&gt;
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).&lt;BR /&gt;
But it doesn't seem to work any more.&lt;BR /&gt;
It used to in older versions I am sure.&lt;BR /&gt;
But definitely not since 22.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
There is maybe another parameter but it seems to only work with doors.&lt;BR /&gt;
&lt;BR /&gt;
ac_OpeningSide&lt;BR /&gt;
&lt;BR /&gt;
I have not really investigated it, but here is a post where it was discussed.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://archicad-talk.graphisoft.com/viewtopic.php?f=6&amp;amp;t=66085" target="_blank"&gt;&lt;LINK_TEXT text="viewtopic.php?f=6&amp;amp;t=66085"&gt;https://archicad-talk.graphisoft.com/viewtopic.php?f=6&amp;amp;t=66085&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 02 Jul 2020 01:40:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256514#M4597</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-07-02T01:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hard code custom window opening direction?</title>
      <link>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256515#M4598</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;
There was a time when you could set custom values for the orientation, but that doesn't seem to work any more.&lt;BR /&gt;
&lt;BR /&gt;
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).&lt;BR /&gt;
But it doesn't seem to work any more.&lt;BR /&gt;
It used to in older versions I am sure.&lt;BR /&gt;
But definitely not since 22.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
There is maybe another parameter but it seems to only work with doors.&lt;BR /&gt;
&lt;BR /&gt;
ac_OpeningSide&lt;BR /&gt;
&lt;BR /&gt;
I have not really investigated it, but here is a post where it was discussed.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://archicad-talk.graphisoft.com/viewtopic.php?f=6&amp;amp;t=66085" target="_blank"&gt;&lt;LINK_TEXT text="viewtopic.php?f=6&amp;amp;t=66085"&gt;https://archicad-talk.graphisoft.com/viewtopic.php?f=6&amp;amp;t=66085&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.
&lt;/BLOCKQUOTE&gt;

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.</description>
      <pubDate>Thu, 02 Jul 2020 06:35:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256515#M4598</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2020-07-02T06:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hard code custom window opening direction?</title>
      <link>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256516#M4599</link>
      <description>&lt;BLOCKQUOTE&gt;Mats_Knutsson wrote:&lt;BR /&gt;
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.
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
This is interesting - I will try to look into this further but not having much luck when I open the objects - but I never have much luck with GS objects.&lt;BR /&gt;
&lt;BR /&gt;
It seems in the "Descriptions" area of the settings you can choose between "Automatic" , "Reversed", or "Custom" for Window Orientation Definition.&lt;BR /&gt;
This works for doors but not for windows.&lt;BR /&gt;
&lt;BR /&gt;
In the attached image I have simply added an autotext label for "Orientation".&lt;BR /&gt;
&lt;BR /&gt;



&lt;BR /&gt;
But when I open the object script I don't see the 'Window Orientation Definition' anywhere.&lt;BR /&gt;
I fact the entire second half of the description list from the window settings is not there in the window script.&lt;BR /&gt;
I wonder where they come from?&lt;BR /&gt;
It seems this missing bit is what you need to add to your custom window.&lt;BR /&gt;
&lt;BR /&gt;



&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 02 Jul 2020 08:33:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256516#M4599</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-07-02T08:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hard code custom window opening direction?</title>
      <link>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256517#M4600</link>
      <description>That's interesting!&lt;BR /&gt;
&lt;BR /&gt;
I got the following link from our local support. Not sure if I can get something out of it and I don't have the time for deeper investigations.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://gdl.graphisoft.com/tips-and-tricks/door-window-orientation" target="_blank"&gt;&lt;LINK_TEXT text="http://gdl.graphisoft.com/tips-and-tric ... rientation"&gt;http://gdl.graphisoft.com/tips-and-tricks/door-window-orientation&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Thu, 02 Jul 2020 10:28:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256517#M4600</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2020-07-02T10:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hard code custom window opening direction?</title>
      <link>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256518#M4601</link>
      <description>Hi Barry,&lt;BR /&gt;
&lt;BR /&gt;
Thank you for reporting the issue!&lt;BR /&gt;
&lt;BR /&gt;
I'm wondering if you find the link from Mats useful? Personally, I'm not an expert in GDL, but after reading the article and playing around a bit, I found out that if the object already had ac_openingside parameter, the Compatibility option will not work. &lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Minh</description>
      <pubDate>Thu, 09 Jul 2020 12:04:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Hard-code-custom-window-opening-direction/m-p/256518#M4601</guid>
      <dc:creator>Minh Nguyen</dc:creator>
      <dc:date>2020-07-09T12:04:32Z</dc:date>
    </item>
  </channel>
</rss>

