<?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: Redundant Lines in GDL in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Redundant-Lines-in-GDL/m-p/202547#M25426</link>
    <description>Srinivas:&lt;BR /&gt;
&lt;BR /&gt;
The issue is status codes (s1 ... sn). When I saved two beams as an object, ArchiCAD wrote the two forms as SPRISM_{2} shapes (which probably have more parameters than you need, a simpler Prism_ might work). For each side of the form there is a status code which determines whether the side is visible, and the visibility of the edges. All the status codes in the object are 15, which shows the side and all its edges. Since this is done as two pieces, their meeting edges are being shown. You will need to look into the code and changes some of the status codes from 15 to something between 8 (side, no edges) and 14 (side and 2 specific edges). There is an illustration of the status codes on page 140 of the GDL Reference Guide, the SPRISM_{2} command is explained on page 42.&lt;BR /&gt;
&lt;BR /&gt;
So, for example, part of the code is:&lt;BR /&gt;
&lt;BR /&gt;
sprism_{2} " 0902 Pnt white", " 0902 Pnt white", " 0902 Pnt white",&lt;BR /&gt;
        5, 0'-0.0000", 0'-0.0000", 0'-0.0000", 2'-3.8388", 0'-0.0000", 45,&lt;BR /&gt;
        0'-0.0000", 0'-0.0000", 0'-0.0000", 3'-3.3701", -4'-0.0000",            0,&lt;BR /&gt;
        0'-6.0000", -1'-0.0000", &lt;FONT color="red"&gt;15&lt;/FONT&gt;, ind(material," 0902 Pnt white"),&lt;BR /&gt;
        0'-6.0000", 0'-0.0000", &lt;FONT color="red"&gt;15&lt;/FONT&gt;, ind(material," 0902 Pnt white"),&lt;BR /&gt;
        -0'-6.0000", 0'-0.0000", &lt;FONT color="red"&gt;15&lt;/FONT&gt;, ind(material," 0902 Pnt white"),&lt;BR /&gt;
        -0'-6.0000", -1'-0.0000", &lt;FONT color="red"&gt;15&lt;/FONT&gt;, ind(material," 0902 Pnt white"),&lt;BR /&gt;
        0'-6.0000", -1'-0.0000", &lt;FONT color="red"&gt;15&lt;/FONT&gt;, ind(material," 0902 Pnt white")&lt;BR /&gt;
&lt;BR /&gt;
One or more of the &lt;FONT color="red"&gt;status codes&lt;/FONT&gt; will need to be changed to eliminate the unwanted lines.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
    <pubDate>Tue, 31 Mar 2009 21:21:43 GMT</pubDate>
    <dc:creator>David Maudlin</dc:creator>
    <dc:date>2009-03-31T21:21:43Z</dc:date>
    <item>
      <title>Redundant Lines in GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Redundant-Lines-in-GDL/m-p/202545#M25424</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
Can someone help me about how to remove the reduntant lines in the GDL object. Please see attached image.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in Advance.&lt;BR /&gt;
&lt;BR /&gt;
-srinivas.&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/7512i6229CA058110F7BC/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Redundant Lines.PNG" title="Redundant Lines.PNG" /&gt;</description>
      <pubDate>Tue, 31 Mar 2009 17:51:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Redundant-Lines-in-GDL/m-p/202545#M25424</guid>
      <dc:creator>Srinivas</dc:creator>
      <dc:date>2009-03-31T17:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Redundant Lines in GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Redundant-Lines-in-GDL/m-p/202546#M25425</link>
      <description>If you look at the 3D script, you will see two sprism_ commands. Each is followed by a list of vertices and status values (xi, yi, si). All the status values are set to 15. Change the status value for one of these vertices to either 11 or 14, to make either the lower or upper edge invisible.&lt;BR /&gt;
_________________&lt;BR /&gt;
Andrew Watson &lt;BR /&gt;
GDL Handbook - a comprehensive guide to creating powerful Archicad objects</description>
      <pubDate>Tue, 31 Mar 2009 20:32:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Redundant-Lines-in-GDL/m-p/202546#M25425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-31T20:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Redundant Lines in GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Redundant-Lines-in-GDL/m-p/202547#M25426</link>
      <description>Srinivas:&lt;BR /&gt;
&lt;BR /&gt;
The issue is status codes (s1 ... sn). When I saved two beams as an object, ArchiCAD wrote the two forms as SPRISM_{2} shapes (which probably have more parameters than you need, a simpler Prism_ might work). For each side of the form there is a status code which determines whether the side is visible, and the visibility of the edges. All the status codes in the object are 15, which shows the side and all its edges. Since this is done as two pieces, their meeting edges are being shown. You will need to look into the code and changes some of the status codes from 15 to something between 8 (side, no edges) and 14 (side and 2 specific edges). There is an illustration of the status codes on page 140 of the GDL Reference Guide, the SPRISM_{2} command is explained on page 42.&lt;BR /&gt;
&lt;BR /&gt;
So, for example, part of the code is:&lt;BR /&gt;
&lt;BR /&gt;
sprism_{2} " 0902 Pnt white", " 0902 Pnt white", " 0902 Pnt white",&lt;BR /&gt;
        5, 0'-0.0000", 0'-0.0000", 0'-0.0000", 2'-3.8388", 0'-0.0000", 45,&lt;BR /&gt;
        0'-0.0000", 0'-0.0000", 0'-0.0000", 3'-3.3701", -4'-0.0000",            0,&lt;BR /&gt;
        0'-6.0000", -1'-0.0000", &lt;FONT color="red"&gt;15&lt;/FONT&gt;, ind(material," 0902 Pnt white"),&lt;BR /&gt;
        0'-6.0000", 0'-0.0000", &lt;FONT color="red"&gt;15&lt;/FONT&gt;, ind(material," 0902 Pnt white"),&lt;BR /&gt;
        -0'-6.0000", 0'-0.0000", &lt;FONT color="red"&gt;15&lt;/FONT&gt;, ind(material," 0902 Pnt white"),&lt;BR /&gt;
        -0'-6.0000", -1'-0.0000", &lt;FONT color="red"&gt;15&lt;/FONT&gt;, ind(material," 0902 Pnt white"),&lt;BR /&gt;
        0'-6.0000", -1'-0.0000", &lt;FONT color="red"&gt;15&lt;/FONT&gt;, ind(material," 0902 Pnt white")&lt;BR /&gt;
&lt;BR /&gt;
One or more of the &lt;FONT color="red"&gt;status codes&lt;/FONT&gt; will need to be changed to eliminate the unwanted lines.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Tue, 31 Mar 2009 21:21:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Redundant-Lines-in-GDL/m-p/202547#M25426</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2009-03-31T21:21:43Z</dc:date>
    </item>
  </channel>
</rss>

