<?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: GDL: Cutplane height self adjusting!? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/GDL-Cutplane-height-self-adjusting/m-p/376522#M73</link>
    <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/9767"&gt;@sinceV6&lt;/a&gt;&amp;nbsp;Thank you. I have clearly missed the "local coordinate" reference. That would also explain the troubles I am having with one of my other objects.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2023 16:00:18 GMT</pubDate>
    <dc:creator>DGSketcher</dc:creator>
    <dc:date>2023-04-13T16:00:18Z</dc:date>
    <item>
      <title>GDL: Cutplane height self adjusting!?</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Cutplane-height-self-adjusting/m-p/376495#M71</link>
      <description>&lt;P&gt;I have a drawing symbol that I want to display if it is positioned below the Floor Plan Cut Plane. The ability to offset from its Home Story is a valid option. What is confusing is the Cut Plane returned value is reducing by the amount of the offset when theoretically it should be a static global value, shouldn't it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!2D Script
!Show subtype Drawing Symbol text values if symbol Z is below cutplane

circle2 0,0, 0.5

if Symb_Pos_Z &amp;lt; (GLOB_CSTORY_ELEV + GLOB_CUTPLANES_INFO[1]) + (Symb_Pos_Z - GLOB_HSTORY_ELEV) + eps then
strText3 = "CP: " + STR((GLOB_CSTORY_ELEV + GLOB_CUTPLANES_INFO[1]), 8 , 3) + " OS: " + STR((Symb_Pos_Z - GLOB_HSTORY_ELEV), 8 , 3) + " Z: " + STR(Symb_Pos_Z, 8 , 3)
text2 0, 0,	strText3
endif
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My symbol is working, I am just curious why the returned Cut Plane value is changing or have I missed something? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 10:54:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Cutplane-height-self-adjusting/m-p/376495#M71</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2023-04-13T10:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: GDL: Cutplane height self adjusting!?</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Cutplane-height-self-adjusting/m-p/376517#M72</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/11396"&gt;@DGSketcher&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....What is confusing is the Cut Plane returned value is reducing by the amount of the offset when theoretically it should be a static global value...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;Completely agree with you that CutPlane info is not intuitive at first, but the key part from the GDL reference is "&lt;EM&gt;in the library part's local coordinate system&lt;/EM&gt;".&lt;/P&gt;
&lt;P&gt;In other words, for example, cutplane height (&lt;FONT size="2"&gt;GLOB_CUTPLANES_INFO[1]&lt;/FONT&gt;) gives you the &lt;EM&gt;difference&lt;/EM&gt; between the start of your object (or its local system) and cutplane as in settings. If your object's home offset is exactly at the cutplane height setting, &lt;FONT size="2"&gt;GLOB_CUTPLANES_INFO[1]&lt;/FONT&gt; (for that object) will return 0; and then you can calculate which parts to show, which are overhead, etc.&lt;/P&gt;
&lt;P&gt;This is why the value is reducing by the home story offset amount.&lt;/P&gt;
&lt;P&gt;At least, that is how I got it understood in the end.&lt;/P&gt;
&lt;P&gt;Best regads.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 15:29:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Cutplane-height-self-adjusting/m-p/376517#M72</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2023-04-13T15:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: GDL: Cutplane height self adjusting!?</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Cutplane-height-self-adjusting/m-p/376522#M73</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/9767"&gt;@sinceV6&lt;/a&gt;&amp;nbsp;Thank you. I have clearly missed the "local coordinate" reference. That would also explain the troubles I am having with one of my other objects.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 16:00:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Cutplane-height-self-adjusting/m-p/376522#M73</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2023-04-13T16:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: GDL: Cutplane height self adjusting!?</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Cutplane-height-self-adjusting/m-p/376682#M74</link>
      <description>&lt;P&gt;I am struggling with GLOB_CUTPLANES_INFO[3] giving inconsistent results in a four story environment when setting the view limit to more than one story below the top story... trying to find the logic!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2023 17:11:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Cutplane-height-self-adjusting/m-p/376682#M74</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2023-04-15T17:11:04Z</dc:date>
    </item>
  </channel>
</rss>

