<?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: Wall Reference Line  &amp;amp; Slab Reference plane location in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/394232#M476</link>
    <description>&lt;P&gt;Here is a part of my script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;! Position des Etiketts bezogen auf den Ursprung
_dict_x = LABEL_ASSOC_ELEM_GEOMETRY.referenceLine2D.contour.edges[1].begPoint.x
_dict_y = LABEL_ASSOC_ELEM_GEOMETRY.referenceLine2D.contour.edges[1].begPoint.y
! Position der Wand bezogen auf den Ursprung
wall_pos_x = WALL_POSITION[1]
wall_pos_y = WALL_POSITION[2]

! Differenzwerte X-Y der Positionen Wand zu Etikett
diff_dict_x = (_dict_x - wall_pos_x)
diff_dict_y = (_dict_y - wall_pos_y)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I am doing different case distinctions like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF ABS(WALL_DIRECTION - 90)  &amp;lt; eps THEN		! S E N K R .  U N T E N

	IF diff_dict_x &amp;lt; 0 THEN diff = diff* (-1)
	! ......................... !
	IF WALL_FLIPPED = 1 THEN dist_C_value = 0 ELSE dist_C_value = 1
	mul2_2_values = -1
	mal_wert_value = 1
ENDIF

IF ABS(WALL_DIRECTION - 180) &amp;lt; eps THEN		! W A A G.  R E C H T S

	IF diff_dict_y &amp;gt; 0 THEN diff = diff* (-1)
	! ......................... !
	IF WALL_FLIPPED = 1 THEN dist_C_value = 0 ELSE dist_C_value = - 1
	mul2_2_values = 1
	mal_wert_value = 1
ENDIF
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 19:53:23 GMT</pubDate>
    <dc:creator>Jochen Suehlo</dc:creator>
    <dc:date>2023-08-03T19:53:23Z</dc:date>
    <item>
      <title>Wall Reference Line  &amp; Slab Reference plane location</title>
      <link>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/392853#M473</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I'm working on a custom label.&lt;BR /&gt;I need to know the location of the reference line from a wall (or plane from a slab) so the label is always placed perfectly next to the element.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DNU_0-1689861308018.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/43799i86357643165B0D8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DNU_0-1689861308018.png" alt="DNU_0-1689861308018.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;In &lt;A href="https://community.graphisoft.com/t5/Libraries-objects/Need-help-for-wall-label/m-p/195095" target="_blank" rel="noopener"&gt;this post&lt;/A&gt;&amp;nbsp;the "&lt;SPAN&gt;WALL_REFLINE_OFFSET" is requested&amp;nbsp;at Graphisoft, for now without result?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 14:00:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/392853#M473</guid>
      <dc:creator>DNU</dc:creator>
      <dc:date>2023-07-20T14:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Reference Line  &amp; Slab Reference plane location</title>
      <link>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/392896#M474</link>
      <description>&lt;P&gt;I created a label for straight walls, where the label is placed directly on top of the walls surface on both sides as 2D-Fill to mark the walls surface..&lt;BR /&gt;I had to do a lot of Case distinctions.&lt;BR /&gt;I needed the following parameters:&lt;BR /&gt;- WALL_DIRECTION&lt;/P&gt;
&lt;P&gt;- WALL_FLIPPED&lt;/P&gt;
&lt;P&gt;- WALL_POSITION[1]&lt;/P&gt;
&lt;P&gt;- WALL_POSITION[2]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you do not need this if you always want to place on the reference line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For label positioning use this:&lt;/P&gt;
&lt;P&gt;add2 LABEL_POSITION[2][1] + LABEL_POSITION[3][1],&lt;BR /&gt;LABEL_POSITION[2][2] + LABEL_POSITION[3][2]&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/56813i629B044C11CE11E4/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Walllabel.png" title="Walllabel.png" /&gt;</description>
      <pubDate>Thu, 20 Jul 2023 21:16:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/392896#M474</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2023-07-20T21:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Reference Line  &amp; Slab Reference plane location</title>
      <link>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/393358#M475</link>
      <description>&lt;P&gt;Thanks Joachim for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ADD2 LABEL_POSITION... is unfortunately not enough &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;I know the struggle with the WALL_DIRECTION and WALL_FLIPPED parameters from a previous label, it worked out eventualy.&lt;/P&gt;&lt;P&gt;Do you compare the WALL_POSITION[1] with the LABEL_POSITION[1][1] to know the offset distance?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 14:46:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/393358#M475</guid>
      <dc:creator>DNU</dc:creator>
      <dc:date>2023-07-25T14:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Reference Line  &amp; Slab Reference plane location</title>
      <link>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/394232#M476</link>
      <description>&lt;P&gt;Here is a part of my script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;! Position des Etiketts bezogen auf den Ursprung
_dict_x = LABEL_ASSOC_ELEM_GEOMETRY.referenceLine2D.contour.edges[1].begPoint.x
_dict_y = LABEL_ASSOC_ELEM_GEOMETRY.referenceLine2D.contour.edges[1].begPoint.y
! Position der Wand bezogen auf den Ursprung
wall_pos_x = WALL_POSITION[1]
wall_pos_y = WALL_POSITION[2]

! Differenzwerte X-Y der Positionen Wand zu Etikett
diff_dict_x = (_dict_x - wall_pos_x)
diff_dict_y = (_dict_y - wall_pos_y)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I am doing different case distinctions like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF ABS(WALL_DIRECTION - 90)  &amp;lt; eps THEN		! S E N K R .  U N T E N

	IF diff_dict_x &amp;lt; 0 THEN diff = diff* (-1)
	! ......................... !
	IF WALL_FLIPPED = 1 THEN dist_C_value = 0 ELSE dist_C_value = 1
	mul2_2_values = -1
	mal_wert_value = 1
ENDIF

IF ABS(WALL_DIRECTION - 180) &amp;lt; eps THEN		! W A A G.  R E C H T S

	IF diff_dict_y &amp;gt; 0 THEN diff = diff* (-1)
	! ......................... !
	IF WALL_FLIPPED = 1 THEN dist_C_value = 0 ELSE dist_C_value = - 1
	mul2_2_values = 1
	mal_wert_value = 1
ENDIF
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 19:53:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/394232#M476</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2023-08-03T19:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Reference Line  &amp; Slab Reference plane location</title>
      <link>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/394443#M477</link>
      <description>&lt;P&gt;Thanks Joachim for the help.&lt;/P&gt;&lt;P&gt;I think I can continue my search with this. For the time being I have already been able to create a well-functioning label, not yet with all the desired functionalities, but that is for later when I have / get some time again.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 09:03:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wall-Reference-Line-amp-Slab-Reference-plane-location/m-p/394443#M477</guid>
      <dc:creator>DNU</dc:creator>
      <dc:date>2023-08-07T09:03:48Z</dc:date>
    </item>
  </channel>
</rss>

