<?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 Window Depth in GDL in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197926#M22898</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am trying to create a window that I like in GDL.  I am not that familiar with GDL, however.  &lt;BR /&gt;
&lt;BR /&gt;
My goal is to make the window so that the frame of the window is the same depth as the wall thickness and the sash stays the correct static distance.  The sash is easy, but the frame is not.  The frame depth challenge is due to differing wall thicknesses.  So if the window is inserted into a 2x4 stud wall with a total thickness of 4 1/2" the frame will adjust accordingly.  Likewise with a thicker/thinner wall thickness.&lt;BR /&gt;
&lt;BR /&gt;
In the 2D view from the GDL subtypes, hotspots can automatically appear on both the interior and exterior face of the wall.  If I knew how to set the frame depth to match those hotspots I would be all set.&lt;BR /&gt;
&lt;BR /&gt;
Can anybody please assist me?&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 May 2023 10:39:53 GMT</pubDate>
    <dc:creator>Kevin Motyka</dc:creator>
    <dc:date>2023-05-24T10:39:53Z</dc:date>
    <item>
      <title>Window Depth in GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197926#M22898</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am trying to create a window that I like in GDL.  I am not that familiar with GDL, however.  &lt;BR /&gt;
&lt;BR /&gt;
My goal is to make the window so that the frame of the window is the same depth as the wall thickness and the sash stays the correct static distance.  The sash is easy, but the frame is not.  The frame depth challenge is due to differing wall thicknesses.  So if the window is inserted into a 2x4 stud wall with a total thickness of 4 1/2" the frame will adjust accordingly.  Likewise with a thicker/thinner wall thickness.&lt;BR /&gt;
&lt;BR /&gt;
In the 2D view from the GDL subtypes, hotspots can automatically appear on both the interior and exterior face of the wall.  If I knew how to set the frame depth to match those hotspots I would be all set.&lt;BR /&gt;
&lt;BR /&gt;
Can anybody please assist me?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:39:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197926#M22898</guid>
      <dc:creator>Kevin Motyka</dc:creator>
      <dc:date>2023-05-24T10:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Window Depth in GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197927#M22899</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
You have to be lost in GDL (just a little).&lt;BR /&gt;
First: You have to open the window object for edit GDL script.&lt;BR /&gt;
Second: You have to find the part of the 3D script which make the frame.&lt;BR /&gt;
Generally it's a "cprism_" command.&lt;BR /&gt;
And there is the thickness of the cprism_ (wich was the thickness of your original slab (frame) in the plan view), changed its value to WALL_THICKNESS&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,</description>
      <pubDate>Wed, 30 Sep 2009 14:13:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197927#M22899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-30T14:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Window Depth in GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197928#M22900</link>
      <description>I am sorry, but I am not understanding your suggestions.&lt;BR /&gt;
&lt;BR /&gt;
Maybe my approach is not right, but I am trying to write the script for a window.  Are you suggesting that I create an object and save it as an object to find the method you mention?</description>
      <pubDate>Wed, 30 Sep 2009 14:21:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197928#M22900</guid>
      <dc:creator>Kevin Motyka</dc:creator>
      <dc:date>2009-09-30T14:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Window Depth in GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197929#M22901</link>
      <description>Oh, i'm sorry.&lt;BR /&gt;
&lt;BR /&gt;
If you write GDL scripts you have to use in many case global parameters.&lt;BR /&gt;
So, the WALL_THICKNESS (or C_ ) is a global parameter of the wall thickness.&lt;BR /&gt;
If You want that the frame thickness will be the value of the wall thickness than you have to use this global parameter.</description>
      <pubDate>Wed, 30 Sep 2009 14:30:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197929#M22901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-30T14:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Window Depth in GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197930#M22902</link>
      <description>Thank you Endre!&lt;BR /&gt;
&lt;BR /&gt;
You have taught me the importance Global Variables.</description>
      <pubDate>Wed, 30 Sep 2009 15:22:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197930#M22902</guid>
      <dc:creator>Kevin Motyka</dc:creator>
      <dc:date>2009-09-30T15:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Window Depth in GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197931#M22903</link>
      <description>Substantial resources for beginner GDL scripters include:&lt;BR /&gt;
&lt;BR /&gt;
GDL Cookbook&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.archicad.ca/?p=84" target="_blank"&gt;http://www.archicad.ca/?p=84&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
GDL Handbook&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.cadimagetools.com/gdlbook.aspx" target="_blank"&gt;http://www.cadimagetools.com/gdlbook.aspx&lt;/A&gt;</description>
      <pubDate>Wed, 30 Sep 2009 15:26:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-Depth-in-GDL/m-p/197931#M22903</guid>
      <dc:creator>Dwight</dc:creator>
      <dc:date>2009-09-30T15:26:24Z</dc:date>
    </item>
  </channel>
</rss>

