<?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: label object placement in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/label-object-placement/m-p/584322#M6201</link>
    <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;i was just trying something out with add2 values. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;add2 LABEL_POSITION[2][1] + LABEL_POSITION[3][1], LABEL_POSITION[2][2] + LABEL_POSITION[3][2]  
add2 -ArtWidth/2, -ArtHeight/2&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;above worked for me,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/13883"&gt;@Jochen Suehlo&lt;/a&gt;&amp;nbsp; thanks a lot, i saw label position in the gdl reference guide, but could not figure how it works.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;what does those numbers between brackets mean? is it somewhere in the GUID explained?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Sun, 21 Jan 2024 14:59:43 GMT</pubDate>
    <dc:creator>Bawar Tanay</dc:creator>
    <dc:date>2024-01-21T14:59:43Z</dc:date>
    <item>
      <title>label object placement</title>
      <link>https://community.graphisoft.com/t5/GDL/label-object-placement/m-p/584306#M6196</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am working on automatic labels using custom picture method (gs_picture)&lt;/P&gt;
&lt;P&gt;just wondering i cant figure out how the automatic / and non automatic placement is done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i can give the label a fixed place, for example the object which has to be labeled is section / elevation 1500 x 1200 mm&lt;/P&gt;
&lt;P&gt;i want the center label to be the center of the object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i already requested the zzyzx en a parameter using:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;rrr = REQUEST ("ASSOCLP_PARVALUE", "ZZYZX",

rrr = REQUEST ("ASSOCLP_PARVALUE", "A",&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;and for the placement&amp;nbsp;i used this code&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;if gs_picture_name &amp;lt;&amp;gt; "" then
add2 -a/2, -zzyzx/2
picture2 gs_picture_name, AW, AH, 1
endif&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;can someone help me thanks a lot.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:27:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/label-object-placement/m-p/584306#M6196</guid>
      <dc:creator>Bawar Tanay</dc:creator>
      <dc:date>2024-09-26T11:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: label object placement</title>
      <link>https://community.graphisoft.com/t5/GDL/label-object-placement/m-p/584318#M6200</link>
      <description>&lt;P&gt;Try the label set to zero routine. Just an idea, I do not know if it helps in your case:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;add2 LABEL_POSITION[2][1] + LABEL_POSITION[3][1], LABEL_POSITION[2][2] + LABEL_POSITION[3][2]		&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Jan 2024 11:25:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/label-object-placement/m-p/584318#M6200</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2024-01-17T11:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: label object placement</title>
      <link>https://community.graphisoft.com/t5/GDL/label-object-placement/m-p/584322#M6201</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;i was just trying something out with add2 values. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;add2 LABEL_POSITION[2][1] + LABEL_POSITION[3][1], LABEL_POSITION[2][2] + LABEL_POSITION[3][2]  
add2 -ArtWidth/2, -ArtHeight/2&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;above worked for me,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/13883"&gt;@Jochen Suehlo&lt;/a&gt;&amp;nbsp; thanks a lot, i saw label position in the gdl reference guide, but could not figure how it works.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;what does those numbers between brackets mean? is it somewhere in the GUID explained?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 21 Jan 2024 14:59:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/label-object-placement/m-p/584322#M6201</guid>
      <dc:creator>Bawar Tanay</dc:creator>
      <dc:date>2024-01-21T14:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: label object placement</title>
      <link>https://community.graphisoft.com/t5/GDL/label-object-placement/m-p/584328#M6202</link>
      <description>&lt;P&gt;The values in the brackets are the Array-Values, because this Global Variable is an Array Variable.&lt;BR /&gt;The 2nd Value is either 1 or 2 for the x and y position&lt;BR /&gt;The 1st Values define the position of the label pointer, the starting point of the pointer (I think) and the starting point of the label.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 12:40:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/label-object-placement/m-p/584328#M6202</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2024-01-17T12:40:57Z</dc:date>
    </item>
  </channel>
</rss>

