<?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: auto-adapting sill in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203511#M13384</link>
    <description>It works! WIDO_SILL does the trick!!&lt;BR /&gt;
&lt;BR /&gt;
Just add '+WIDO_SILL' to the coordinates of the (PRISM)sill that you want to keep constant in respect to the outer wall plane.&lt;BR /&gt;
&lt;BR /&gt;
David, you are my hero today!</description>
    <pubDate>Thu, 10 Oct 2013 08:10:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-10T08:10:51Z</dc:date>
    <item>
      <title>auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203508#M13381</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to script some of my own windows and doors. I got some working, but I want to create a sill under my windows that grows or shrinks automatically if the window is further or nearer to the wall plane.&lt;BR /&gt;
&lt;BR /&gt;
I see this happening with the standard windows that come with Archicad, but I cant find how they do this.&lt;BR /&gt;
&lt;BR /&gt;
I do come across the term Glob_context, but how do I implement this if it is what I am looking for?&lt;BR /&gt;
&lt;BR /&gt;
(ArchiCad 17)&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:34:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203508#M13381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203509#M13382</link>
      <description>Rik:&lt;BR /&gt;
&lt;BR /&gt;
Based on your description I am not sure exactly which Global Variables (in the GDL Reference Guide) you need, but some that might help are &lt;FONT color="blue"&gt;WALL_THICKNESS&lt;/FONT&gt;, which gives the thickness of the host wall, and &lt;FONT color="blue"&gt;WIDO_SILL&lt;/FONT&gt; which gives the setback of the window or door.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Wed, 09 Oct 2013 13:32:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203509#M13382</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2013-10-09T13:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203510#M13383</link>
      <description>Thanks David!&lt;BR /&gt;
&lt;BR /&gt;
I'll look into it first thing tomorrow morning!</description>
      <pubDate>Wed, 09 Oct 2013 14:30:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203510#M13383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-09T14:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203511#M13384</link>
      <description>It works! WIDO_SILL does the trick!!&lt;BR /&gt;
&lt;BR /&gt;
Just add '+WIDO_SILL' to the coordinates of the (PRISM)sill that you want to keep constant in respect to the outer wall plane.&lt;BR /&gt;
&lt;BR /&gt;
David, you are my hero today!</description>
      <pubDate>Thu, 10 Oct 2013 08:10:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203511#M13384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T08:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203512#M13385</link>
      <description>On the other hand...&lt;BR /&gt;
&lt;BR /&gt;
At the back of the sill, AC just continues the WALLHOLE.&lt;BR /&gt;
I tried to close that gap with a block, with a height of WALL_THICKNESS, but for some reason this block will not show up in plan or 3D, only in 3D preview...&lt;BR /&gt;
&lt;BR /&gt;
Any thoughts on this one?</description>
      <pubDate>Thu, 10 Oct 2013 09:53:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203512#M13385</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T09:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203513#M13386</link>
      <description>Rik:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="blue"&gt;PRISM&lt;/FONT&gt;, in the 3D Script, will only appear as part of the 3D model, not part of the 2D View (2D is separately scripted in the 2D Script). Maybe the &lt;FONT color="blue"&gt;WALLHOLE&lt;/FONT&gt; is not large enough to include both the window and sill, so the sill is buried in the Wall. Screen shots, and posting the code, would be helpful.&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>Thu, 10 Oct 2013 13:07:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203513#M13386</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2013-10-10T13:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203514#M13387</link>
      <description>Oke, here are some screenshots, since my last post seems very confusing. &lt;BR /&gt;
&lt;BR /&gt;
In the left section you can see my window+sill. But the backside off the wall should go up behind the sill, touching the window. &lt;BR /&gt;
&lt;BR /&gt;
This gap is what I want to close with a box or prism, whatever works! As pointed out in red in the right section.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13817iB4557FD04007C422/image-size/large?v=v2&amp;amp;px=999" border="0" alt="sections.jpg" title="sections.jpg" /&gt;</description>
      <pubDate>Mon, 14 Oct 2013 09:39:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203514#M13387</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-14T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203515#M13388</link>
      <description>I enclosed a view of my script + 3d preview, so you can see what I have tried. &lt;BR /&gt;
&lt;BR /&gt;
-I first tried a prism, with added WALL_THICKNESS for coordinates, just like the sill was made. (somehow the '+WALL_THICKNESS' got deleted from the script) &lt;BR /&gt;
&lt;BR /&gt;
-I now have a box, which shows fine in the 3d preview, but in the scene it will not show. (I wonder how it calculates the height in the preview, as there is no wall to give wall_thickness a number...)</description>
      <pubDate>Mon, 14 Oct 2013 09:44:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203515#M13388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-14T09:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203516#M13389</link>
      <description>Rik:&lt;BR /&gt;
&lt;BR /&gt;
Based on what you posted, I cannot see what the problem could be. You can zip the window object file and post it to the forum for better testing.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Rik wrote:&lt;BR /&gt;(I wonder how it calculates the height in the preview, as there is no wall to give wall_thickness a number...)&lt;/BLOCKQUOTE&gt;

The &lt;FONT color="blue"&gt;wall_thickness&lt;/FONT&gt; is taken from the current &lt;FONT color="blue"&gt;default&lt;/FONT&gt; value of the Wall Tool in the open ArchiCAD project file.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Mon, 14 Oct 2013 13:45:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203516#M13389</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2013-10-14T13:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203517#M13390</link>
      <description>I found the problem!&lt;BR /&gt;
&lt;BR /&gt;
When I save my object as an actual window, all sorts off code is added to the script. And somewhere it states the WALL_THICKNESS. But it does so twice...&lt;BR /&gt;
&lt;BR /&gt;
I don't know why, so I don't want to delete one. So I just changed the latst one into WALL_THICKNESS = WALL_THICKNESS&lt;BR /&gt;
&lt;BR /&gt;
This does the trick!&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/11935iA183FE9113E609AA/image-size/large?v=v2&amp;amp;px=999" border="0" alt="script window.jpg" title="script window.jpg" /&gt;</description>
      <pubDate>Thu, 17 Oct 2013 11:11:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203517#M13390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-17T11:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: auto-adapting sill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203518#M13391</link>
      <description>oke, I was a bit to hasty...&lt;BR /&gt;
&lt;BR /&gt;
The first line needs to be:&lt;BR /&gt;
&lt;BR /&gt;
WALL_THICKNESS = WALL_THICKNESS&lt;BR /&gt;
&lt;BR /&gt;
Otherwise the window doesn't change when you alter the wall's thickness...&lt;BR /&gt;
&lt;BR /&gt;
The second one becomes:&lt;BR /&gt;
&lt;BR /&gt;
WALL_THICKNESS = WALL_THICKNESS-WIDO_SILL-0.04&lt;BR /&gt;
&lt;BR /&gt;
Because I don't want the block to come out of the wall. The 0.04 is space occupied by the concrete outside sill.</description>
      <pubDate>Thu, 17 Oct 2013 11:52:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/auto-adapting-sill/m-p/203518#M13391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-17T11:52:05Z</dc:date>
    </item>
  </channel>
</rss>

