<?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: Window/Door Orientation related to North Point in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181132#M13130</link>
    <description>Check the GDL GLobal Variable called &lt;FONT color="#FF0024"&gt;WALL_DIRECTION&lt;/FONT&gt; in the below document.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.archicadwiki.com/Global%20GDL%20Parameters#Wall_parameters_-_available_for_Doors.2BAC8-Windows" target="_blank"&gt;&lt;LINK_TEXT text="http://www.archicadwiki.com/Global%20GD ... C8-Windows"&gt;http://www.archicadwiki.com/Global%20GDL%20Parameters#Wall_parameters_-_available_for_Doors.2BAC8-Windows&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
The article is rather old, is was done for 6.5 but many of the descriptions still stand.</description>
    <pubDate>Tue, 06 Aug 2013 13:43:58 GMT</pubDate>
    <dc:creator>Laszlo Nagy</dc:creator>
    <dc:date>2013-08-06T13:43:58Z</dc:date>
    <item>
      <title>Window/Door Orientation related to North Point</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181131#M13129</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi GDL Guru's, &lt;BR /&gt;
 &lt;BR /&gt;
I'm fairly new to GDL scripting so please go easy on me. &lt;BR /&gt;
Apologies if I use any incorrect terminology. &lt;BR /&gt;
 &lt;BR /&gt;
Any idea on how to work out a Window/Door's Orientation related to the project North Point? &lt;BR /&gt;
I know how to extract the project North Point angle but can't seem to figure out the angle in which a Window or Door faces. &lt;BR /&gt;
 &lt;BR /&gt;
I am pretty sure that this must be able to be done as EcoDesigner does this already. &lt;BR /&gt;
 &lt;BR /&gt;
Any help is greatly appreciated. &lt;BR /&gt;
 &lt;BR /&gt;
Regards, &lt;BR /&gt;
Alister&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:34:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181131#M13129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Window/Door Orientation related to North Point</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181132#M13130</link>
      <description>Check the GDL GLobal Variable called &lt;FONT color="#FF0024"&gt;WALL_DIRECTION&lt;/FONT&gt; in the below document.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.archicadwiki.com/Global%20GDL%20Parameters#Wall_parameters_-_available_for_Doors.2BAC8-Windows" target="_blank"&gt;&lt;LINK_TEXT text="http://www.archicadwiki.com/Global%20GD ... C8-Windows"&gt;http://www.archicadwiki.com/Global%20GDL%20Parameters#Wall_parameters_-_available_for_Doors.2BAC8-Windows&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
The article is rather old, is was done for 6.5 but many of the descriptions still stand.</description>
      <pubDate>Tue, 06 Aug 2013 13:43:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181132#M13130</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2013-08-06T13:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Window/Door Orientation related to North Point</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181133#M13131</link>
      <description>Alister:&lt;BR /&gt;
&lt;BR /&gt;
I have not tested this thoroughly, but try the Global Variable &lt;FONT color="blue"&gt;WALL_DIRECTION&lt;/FONT&gt;, it reads the angle of the the window's host wall. Then using the Global Variable &lt;FONT color="blue"&gt;GLOB_NORTH_DIR&lt;/FONT&gt; you should be able to work out the Orientation.&lt;BR /&gt;
&lt;BR /&gt;
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Tue, 06 Aug 2013 13:50:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181133#M13131</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2013-08-06T13:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Window/Door Orientation related to North Point</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181134#M13132</link>
      <description>Be sure to do some tests on this. &lt;BR /&gt;
&lt;BR /&gt;
As I recall the WALL_DIRECTION global is a bit tricky what with interactions between rotation angles, mirroring and the reference line direction. &lt;BR /&gt;
&lt;BR /&gt;
To test, turn on the reference lines in the Display Options and make copies of the walls at all angles. I use the multiply command to make a circle of sixteen copies and then select the lot and mirror copies to cover all possible permutations.&lt;BR /&gt;
&lt;BR /&gt;
If you need to make it obvious you can put a bit of temporary code at the top of the 2D script to draw an arrow pointing north. Your first attempt will probably have arrows pointing in various directions.</description>
      <pubDate>Tue, 06 Aug 2013 15:45:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181134#M13132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-06T15:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Window/Door Orientation related to North Point</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181135#M13133</link>
      <description>Thanks for the help guys. &lt;BR /&gt;
 &lt;BR /&gt;
Unfortunately I have not had any success in working this out. &lt;BR /&gt;
I don't think that the Global Variable "WALL_DIRECTION" is the solution as it is user defined and can have two different outputs depending on the direction that the user drew the wall, left to right would give me an angle of 0 deg, and right to left would give me an angle of 180 deg. (See Attached Image)&lt;BR /&gt;
What I am actually looking for is the angle that the window/door faces relative to the North Point.</description>
      <pubDate>Tue, 06 Aug 2013 18:58:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181135#M13133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-06T18:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Window/Door Orientation related to North Point</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181136#M13134</link>
      <description>Place some windows in walls set at different angles and then mirror a copy of those walls and windows.&lt;BR /&gt;
Then query the values for WALL_DIRECTION, SYMB_ROTANGLE&lt;BR /&gt;
&lt;BR /&gt;
You might also want to look at WIDO_REVEAL_SIDE to determine which way the window was place - reveal inside or outside.&lt;BR /&gt;
It should always be outside but you may have a reason to place your window reveals on the inside of the wall?&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/15630i753B80C556E365DD/image-size/large?v=v2&amp;amp;px=999" border="0" alt="window_orientation_2.jpg" title="window_orientation_2.jpg" /&gt;</description>
      <pubDate>Wed, 07 Aug 2013 02:15:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181136#M13134</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2013-08-07T02:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Window/Door Orientation related to North Point</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181137#M13135</link>
      <description>It has been a while since I've had to do this but as Barry has said you need to query the WALL_DIRECTION plus the WIDO_ORIENTATION and also the GLOB_NORTH_DIR.&lt;BR /&gt;
I'll do some digging through some old objects this evening and see if I can find the windows I added this to.</description>
      <pubDate>Wed, 07 Aug 2013 02:28:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181137#M13135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-07T02:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Window/Door Orientation related to North Point</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181138#M13136</link>
      <description>As I indicated this is one of the trickier things to work out in GDL, but it can be done. And yes, that two seemingly identical walls can be 180 degrees different angles is just one of the complications. If you are going to be associating text with the arrow getting it to face down and/or right is another one.</description>
      <pubDate>Wed, 07 Aug 2013 16:11:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181138#M13136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-07T16:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Window/Door Orientation related to North Point</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181139#M13137</link>
      <description>Once again, thanks for the help.&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately I am no closer.&lt;BR /&gt;
I have decided to move away from the WALL_DIRECTION and the WIDO_ORIENTATION options due to the number of user variables.&lt;BR /&gt;
This may be a mistake but I'm not getting any closer.&lt;BR /&gt;
My new line of thought is that it must have something to do with Zones as in EcoDesigner it does not matter what the wall direction is, nor does it matter what the WIDO orientation is. I have tested both.&lt;BR /&gt;
I was chatting to a fellow ArchiCAD user and he mentioned something along the lines of all objects having a 'frontal view' and that this might be of some help.&lt;BR /&gt;
I'm not to sure if this is true or not, although it does make sense because all objects have an elevational preview window in their Settings Dialog.&lt;BR /&gt;
Any thoughts??&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/68576i7A438D9B30D2D9F7/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2013-08-07 at 23.52.46.png" title="Screen Shot 2013-08-07 at 23.52.46.png" /&gt;</description>
      <pubDate>Wed, 07 Aug 2013 22:18:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Door-Orientation-related-to-North-Point/m-p/181139#M13137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-07T22:18:03Z</dc:date>
    </item>
  </channel>
</rss>

