<?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: Draw order for 2D elements in objects - GDL question in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Draw-order-for-2D-elements-in-objects-GDL-question/m-p/645078#M7300</link>
    <description>&lt;P&gt;The drawing order kind of depends on the order of the commands – but only kind of. There are still some internal rules that should be drawn upon what.&lt;/P&gt;
&lt;P&gt;But! If you do not want to use draw index you can force the order with this button in the compatibility options: (sorry for German screenshot)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="runxel_0-1735905305901.png" style="width: 721px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/81528iE9CFF6C07955D39C/image-dimensions/721x510?v=v2" width="721" height="510" role="button" title="runxel_0-1735905305901.png" alt="runxel_0-1735905305901.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 04 Jan 2025 00:29:37 GMT</pubDate>
    <dc:creator>runxel</dc:creator>
    <dc:date>2025-01-04T00:29:37Z</dc:date>
    <item>
      <title>Draw order for 2D elements in objects - GDL question</title>
      <link>https://community.graphisoft.com/t5/GDL/Draw-order-for-2D-elements-in-objects-GDL-question/m-p/645042#M7299</link>
      <description>&lt;P&gt;I am having trouble with an object that I've created that I haven't encountered before. For some reason, the 2D elements are not being drawn in the correct order. I tried using the DRAWINDEX command, which worked, but it caused other issues when being called up in the script of another object. From what I understand, 2D elements are usually drawn in the order that they are scripted. I.e., if I have lines of three different pens, the first pen used should be drawn at the bottom and the last pen used should be drawn at the top. This has worked for a number of other 2D objects I have created, but for some reason in this object the lines all overlap in random ways. Is there a way to fix this without using the DRAWINDEX command? The .gsm file for the object is attached below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Mac Apple Silicon &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 04:24:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Draw-order-for-2D-elements-in-objects-GDL-question/m-p/645042#M7299</guid>
      <dc:creator>Reilly</dc:creator>
      <dc:date>2025-01-03T04:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Draw order for 2D elements in objects - GDL question</title>
      <link>https://community.graphisoft.com/t5/GDL/Draw-order-for-2D-elements-in-objects-GDL-question/m-p/645078#M7300</link>
      <description>&lt;P&gt;The drawing order kind of depends on the order of the commands – but only kind of. There are still some internal rules that should be drawn upon what.&lt;/P&gt;
&lt;P&gt;But! If you do not want to use draw index you can force the order with this button in the compatibility options: (sorry for German screenshot)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="runxel_0-1735905305901.png" style="width: 721px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/81528iE9CFF6C07955D39C/image-dimensions/721x510?v=v2" width="721" height="510" role="button" title="runxel_0-1735905305901.png" alt="runxel_0-1735905305901.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2025 00:29:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Draw-order-for-2D-elements-in-objects-GDL-question/m-p/645078#M7300</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2025-01-04T00:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Draw order for 2D elements in objects - GDL question</title>
      <link>https://community.graphisoft.com/t5/GDL/Draw-order-for-2D-elements-in-objects-GDL-question/m-p/645206#M7301</link>
      <description>&lt;P&gt;That did it, thank you! I figured there was some setting I was missing.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 15:06:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Draw-order-for-2D-elements-in-objects-GDL-question/m-p/645206#M7301</guid>
      <dc:creator>Reilly</dc:creator>
      <dc:date>2025-01-06T15:06:31Z</dc:date>
    </item>
  </channel>
</rss>

