<?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 which automatically assigns hotspots in the corners of the parent object in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Label-which-automatically-assigns-hotspots-in-the-corners-of-the/m-p/288040#M3729</link>
    <description>No, labels don't know the parent element's position.&lt;BR /&gt;
This can only work if the user positions the label to a specific point of the parent.&lt;BR /&gt;
If you want to label only a specific GDL object, you could try storing SYMB_POS_... globals into a parameter in the parent object, and getting it with REQUEST  "ASSOCLP_PARVALUE" in the label.</description>
    <pubDate>Tue, 27 Oct 2020 09:15:05 GMT</pubDate>
    <dc:creator>Peter Baksa</dc:creator>
    <dc:date>2020-10-27T09:15:05Z</dc:date>
    <item>
      <title>Label which automatically assigns hotspots in the corners of the parent object</title>
      <link>https://community.graphisoft.com/t5/GDL/Label-which-automatically-assigns-hotspots-in-the-corners-of-the/m-p/288037#M3726</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hey! I am fairly new into GDL-programming, but I have little experience in another languages. I am trying to modify labels script, so it could draw a diagonal line from square-shaped objects corner to another corner.&lt;BR /&gt;&lt;BR /&gt;Is this possible? I have seen a label which can return objects relative coordinates from project origin and write it as a string, so I thought this information could be used to tell the label to draw the diagonal line.&lt;BR /&gt;&lt;BR /&gt;This would require:&lt;BR /&gt;- Relative coordinates of one of the parent objects corners&lt;BR /&gt;- Objects length in X-axis&lt;BR /&gt;- Objects length in Y-axis&lt;BR /&gt;&lt;BR /&gt;So how can a label request these parameters from a parent object? I tried to search info from other places, but I am out of luck, so I thought if someone could give me a hand here.&lt;BR /&gt;I am doing this for my school project, so all the help would be very appreciated! Thanks in advance!&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 07:41:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Label-which-automatically-assigns-hotspots-in-the-corners-of-the/m-p/288037#M3726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T07:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Label which automatically assigns hotspots in the corners of the parent object</title>
      <link>https://community.graphisoft.com/t5/GDL/Label-which-automatically-assigns-hotspots-in-the-corners-of-the/m-p/288038#M3727</link>
      <description>Here is the result I want to achieve. The label is associated with a floor finish object (not a slab).</description>
      <pubDate>Wed, 14 Oct 2020 09:31:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Label-which-automatically-assigns-hotspots-in-the-corners-of-the/m-p/288038#M3727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-14T09:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Label which automatically assigns hotspots in the corners of the parent object</title>
      <link>https://community.graphisoft.com/t5/GDL/Label-which-automatically-assigns-hotspots-in-the-corners-of-the/m-p/288039#M3728</link>
      <description>I'm not sure if you can "request" the relative position of the parent object but you can use LABEL_POSITION to get the position of the label itself.&lt;BR /&gt;
&lt;BR /&gt;
Assuming you made the floor finish object yourself, or know its geometry parameter, then you can use the n = REQUEST ("ASSOCLP_PARVALUE", expr, ... to get the value of the geometry parameter.&lt;BR /&gt;
&lt;BR /&gt;
That should give you enough info to work with.</description>
      <pubDate>Thu, 15 Oct 2020 11:58:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Label-which-automatically-assigns-hotspots-in-the-corners-of-the/m-p/288039#M3728</guid>
      <dc:creator>Palawat</dc:creator>
      <dc:date>2020-10-15T11:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Label which automatically assigns hotspots in the corners of the parent object</title>
      <link>https://community.graphisoft.com/t5/GDL/Label-which-automatically-assigns-hotspots-in-the-corners-of-the/m-p/288040#M3729</link>
      <description>No, labels don't know the parent element's position.&lt;BR /&gt;
This can only work if the user positions the label to a specific point of the parent.&lt;BR /&gt;
If you want to label only a specific GDL object, you could try storing SYMB_POS_... globals into a parameter in the parent object, and getting it with REQUEST  "ASSOCLP_PARVALUE" in the label.</description>
      <pubDate>Tue, 27 Oct 2020 09:15:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Label-which-automatically-assigns-hotspots-in-the-corners-of-the/m-p/288040#M3729</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2020-10-27T09:15:05Z</dc:date>
    </item>
  </channel>
</rss>

