<?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: scripting 2D lines/fills in a section view? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131756#M14224</link>
    <description>&lt;BLOCKQUOTE&gt;dirty wrote:&lt;BR /&gt;Thanks for the feedback &lt;B&gt;rocoron&lt;FONT color="#FF003F"&gt;a&lt;/FONT&gt;&lt;/B&gt;.  I'd read about using GLOB_CONTEXT in &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt; &lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=187304&amp;amp;highlight=globcontext#187304" target="_blank"&gt;this&lt;/A&gt;&lt;E&gt;&lt;/E&gt; thread to trigger FRAGMENT layer information in the symbol view, but I was never able to get this working.  Is the '2D Symbol' window in the GDL editor the best place to make 2D elements appear in section/elevation? &lt;/BLOCKQUOTE&gt;no. The S/E are built by archicad from the 3D model. And this is true also for objects. You have to use the GDL 3D Script. &lt;BR /&gt;
  
&lt;BLOCKQUOTE&gt; &lt;BR /&gt;
 want the section fill to be able to automatically read the outermost skin of &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;any&lt;E&gt;&lt;/E&gt; composite wall skin &lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
no time to go further, now, but you need to look at WALL_FILL and WALL_SKINS_PARAMS globals to get the correct fill to use. But I think it would be very hard to align it with the wall fill.</description>
    <pubDate>Thu, 28 Mar 2013 13:40:30 GMT</pubDate>
    <dc:creator>rocorona</dc:creator>
    <dc:date>2013-03-28T13:40:30Z</dc:date>
    <item>
      <title>scripting 2D lines/fills in a section view?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131753#M14221</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Here's the deal...  I was feeling ambitious and scripted an empty window opening where the skins of the composite wall automatically return around the jambs, head, and sill similar to the "turn plaster" feature of all the stock window library parts.  See attached image.  I got the results I wanted in plan view and 3D view and was feeling pretty good.  Then I tried checking the result in a section cut view and discovered a new issue —&amp;nbsp;I can't figure out a way to create the same skin-wrapping results I did in plan view in &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;section&lt;E&gt;&lt;/E&gt;.  The PRISM I used to represent the finish material at the jamb in the 3D script gives me a cut fill which can be controlled in the 'Floor Plan and Section' panel of the window settings, but I can't figure out a way to script this cut fill to automatically read the wall skin fill like I did in plan view with a local origin and distortion to compensate for composite skin fills that were stretched using the fit-to-skin option.  I can't even figure out how I would script a line or anything 2D so that it would show up in a section cut.  Is this impossible?&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="empty window with turned plaster (resized).jpg" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/17050i2FA147631BE352ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="empty window with turned plaster (resized).jpg" alt="empty window with turned plaster (resized).jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 24 May 2023 09:47:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131753#M14221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T09:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: scripting 2D lines/fills in a section view?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131754#M14222</link>
      <description>Just a tough, about lines. &lt;BR /&gt;
You can't use the LIN_ to draw lines, because you don't know *where* the object is cut by the section line. &lt;BR /&gt;
Maybe you can test if the current view is a section (GLOB_CONTEXT=4) &lt;BR /&gt;
then draw horizontal planes for the horizontal lines, setting the pen for the skin line color.</description>
      <pubDate>Thu, 28 Mar 2013 07:25:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131754#M14222</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2013-03-28T07:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: scripting 2D lines/fills in a section view?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131755#M14223</link>
      <description>Thanks for the feedback &lt;B&gt;rocorona&lt;/B&gt;.  I'd read about using GLOB_CONTEXT in &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=187304&amp;amp;highlight=globcontext#187304" target="_blank"&gt;this&lt;/A&gt;&lt;E&gt;&lt;/E&gt; thread to trigger FRAGMENT layer information in the symbol view, but I was never able to get this working.  Is the '2D Symbol' window in the GDL editor the best place to make 2D elements appear in section/elevation?  &lt;BR /&gt;
&lt;BR /&gt;
Also, I guess I want to clarify that I am mostly concerned about the fill here, and want the section fill to be able to automatically read the outermost skin of &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;any&lt;E&gt;&lt;/E&gt; composite wall skin I throw at it, not just the particular one shown in the pic.  At a minimum I am looking for some control of where the fill's origin starts.  You know... a local origin starting at the edge of the finish skin rather than some far off global origin.  This is generally not an issue for random pattern fills.  However, a lot of our fills (like the GWB fill illustrated here) have a specific thickness and direction and having the cut fill based on a global origin means it's never going to perfectly align within the layer representing the finish material at the head and sill of the window. &lt;BR /&gt;
&lt;BR /&gt;
Just one thought...  in my digging around in the 'GDL Reference Guide' I came across a WALL_POSITION parameter which supposedly reads the starting position of the wall relative to the global origin.  I'm wondering if I could somehow use that to calculate where the fill pattern should begin.  Again if only I could figure out how to manipulate the origin of the cut fill in section view to start with.</description>
      <pubDate>Thu, 28 Mar 2013 09:05:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131755#M14223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-28T09:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: scripting 2D lines/fills in a section view?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131756#M14224</link>
      <description>&lt;BLOCKQUOTE&gt;dirty wrote:&lt;BR /&gt;Thanks for the feedback &lt;B&gt;rocoron&lt;FONT color="#FF003F"&gt;a&lt;/FONT&gt;&lt;/B&gt;.  I'd read about using GLOB_CONTEXT in &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt; &lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=187304&amp;amp;highlight=globcontext#187304" target="_blank"&gt;this&lt;/A&gt;&lt;E&gt;&lt;/E&gt; thread to trigger FRAGMENT layer information in the symbol view, but I was never able to get this working.  Is the '2D Symbol' window in the GDL editor the best place to make 2D elements appear in section/elevation? &lt;/BLOCKQUOTE&gt;no. The S/E are built by archicad from the 3D model. And this is true also for objects. You have to use the GDL 3D Script. &lt;BR /&gt;
  
&lt;BLOCKQUOTE&gt; &lt;BR /&gt;
 want the section fill to be able to automatically read the outermost skin of &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;any&lt;E&gt;&lt;/E&gt; composite wall skin &lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
no time to go further, now, but you need to look at WALL_FILL and WALL_SKINS_PARAMS globals to get the correct fill to use. But I think it would be very hard to align it with the wall fill.</description>
      <pubDate>Thu, 28 Mar 2013 13:40:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131756#M14224</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2013-03-28T13:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: scripting 2D lines/fills in a section view?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131757#M14225</link>
      <description>Have a look at the basic library. There is macro, which do the job automatically. GS widos do use it too.</description>
      <pubDate>Thu, 28 Mar 2013 14:38:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131757#M14225</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2013-03-28T14:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: scripting 2D lines/fills in a section view?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131758#M14226</link>
      <description>&lt;BLOCKQUOTE&gt;rocorona wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;dirty wrote:&lt;BR /&gt;Is the '2D Symbol' window in the GDL editor the best place to make 2D elements appear in section/elevation? &lt;/BLOCKQUOTE&gt;no. The S/E are built by archicad from the 3D model. And this is true also for objects. You have to use the GDL 3D Script. &lt;BR /&gt;
&lt;BR /&gt;
no time to go further, now, but you need to look at WALL_FILL and WALL_SKINS_PARAMS globals to get the correct fill to use. But I think it would be very hard to align it with the wall fill.&lt;/BLOCKQUOTE&gt;
This is what I was afraid of.  Except I don't understand how composite walls, slabs, and roofs can accurately communicate these skin fills with the right thickness in the right position.  &lt;BR /&gt;
&lt;BR /&gt;
I ended up using SECT_FILL in the 3D window to define the cut fill to match the skin (with WALL_SKINS_PARAMS global).  Results attached...  Still can't believe there is no control over the origin or distortion of the fill in section.&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="84"&gt;(BTW, sorry for misspelling your name.)&lt;/FONT&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/15649i9A2F391CB784C02F/image-size/large?v=v2&amp;amp;px=999" border="0" alt="random_sect_fill(reduced).jpg" title="random_sect_fill(reduced).jpg" /&gt;</description>
      <pubDate>Fri, 29 Mar 2013 05:11:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131758#M14226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-29T05:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: scripting 2D lines/fills in a section view?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131759#M14227</link>
      <description>&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;Have a look at the basic library. There is macro, which do the job automatically. GS widos do use it too.&lt;/BLOCKQUOTE&gt;

&lt;B&gt;F. Beister&lt;/B&gt; I stole a lot of the script workings in 2D plan view from the 'TurnPlaster' macro which I assume is what you're referring to.  However I haven't seen an example of another window or door type that shows a turned plaster layer in &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;section&lt;E&gt;&lt;/E&gt;.  If there is a library part you know of that does this please let me know so I can copy. Thanks.</description>
      <pubDate>Fri, 29 Mar 2013 05:25:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131759#M14227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-29T05:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: scripting 2D lines/fills in a section view?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131760#M14228</link>
      <description>Have you looked on this:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/16/Window-Macros/WallholeStructure.html" target="_blank"&gt;WallholeStructure&lt;/A&gt; in the &lt;A href="http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/16/" target="_blank"&gt;BasicLibrary&lt;/A&gt;?</description>
      <pubDate>Sun, 31 Mar 2013 18:17:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/scripting-2D-lines-fills-in-a-section-view/m-p/131760#M14228</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2013-03-31T18:17:07Z</dc:date>
    </item>
  </channel>
</rss>

