<?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: Can you create a Label GDL that can sum? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362370#M1555</link>
    <description>&lt;P&gt;the API will let you create a text or label with the sum area of whatever you want.&lt;/P&gt;&lt;P&gt;Labels can only&amp;nbsp; be linked to one element as far as i know.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 14:49:07 GMT</pubDate>
    <dc:creator>julienK</dc:creator>
    <dc:date>2022-11-17T14:49:07Z</dc:date>
    <item>
      <title>Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362304#M1552</link>
      <description>&lt;P&gt;Can you create a Label GDL that can sum?&lt;/P&gt;&lt;P&gt;Even if there is a hole at the bottom, it is one fill, so you can get the area with an area label, but the top two fills cannot be made with one fill. (In Autocad, it is possible to hatch as one even if it is separated)&lt;BR /&gt;But I need to create a Label that represents the sum of the two.&lt;/P&gt;&lt;P&gt;Is this possible in Archicad?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1668676925284.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/31674i5CFC51757C72B682/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1668676925284.png" alt="LeeJaeYoung_0-1668676925284.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 09:25:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362304#M1552</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2022-11-17T09:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362361#M1553</link>
      <description>&lt;P&gt;You can do that&amp;nbsp; with an&amp;nbsp; addon but I don't think GDL is able to&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 14:01:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362361#M1553</guid>
      <dc:creator>julienK</dc:creator>
      <dc:date>2022-11-17T14:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362368#M1554</link>
      <description>&lt;P&gt;Is it possible with API?&lt;BR /&gt;It seems that the sum of the two fills can be expressed as text.&lt;BR /&gt;Isn't it possible to link with more than one object like label?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 14:47:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362368#M1554</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2022-11-17T14:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362370#M1555</link>
      <description>&lt;P&gt;the API will let you create a text or label with the sum area of whatever you want.&lt;/P&gt;&lt;P&gt;Labels can only&amp;nbsp; be linked to one element as far as i know.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 14:49:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362370#M1555</guid>
      <dc:creator>julienK</dc:creator>
      <dc:date>2022-11-17T14:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362427#M1556</link>
      <description>&lt;P&gt;What I'm curious about is the Label made with the API you mentioned.&lt;BR /&gt;Are you saying that if only one element can be connected, you can create a label that is connected to two or more elements?&lt;BR /&gt;I would appreciate it if you could tell me which of the api sample files to study or which function to use if the label made with the api is linked to more than two elements.&lt;BR /&gt;Thank you for your interest. ^^&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 00:39:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362427#M1556</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2022-11-18T00:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362444#M1557</link>
      <description>&lt;P&gt;The, API won't let you link multiple elements to a label.&lt;/P&gt;&lt;P&gt;If you look at the notification manager exemple in the API it has a file called Element_Observer.cpp, in that file there is a function Do_ClickedElementMonitor(bool)&lt;/P&gt;&lt;P&gt;The way it works is, you attach elements, fills in your case to the observer.&lt;/P&gt;&lt;P&gt;When those elements are changed it sends a notification. You can then use this notification to modifiy a label, or a text with the sum area of the fills you are observing.&lt;/P&gt;&lt;P&gt;Look at these functions in the APIdocumentation:&lt;/P&gt;&lt;P&gt;ACAPI_Notify_InstallElementObserver&lt;/P&gt;&lt;P&gt;ACAPI_Element_AttachObserver&lt;/P&gt;&lt;P&gt;ACAPI_Element_DetachObserver&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 05:44:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362444#M1557</guid>
      <dc:creator>julienK</dc:creator>
      <dc:date>2022-11-18T05:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362450#M1558</link>
      <description>&lt;P&gt;Thank you so much ^^&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 07:53:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362450#M1558</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2022-11-18T07:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362452#M1559</link>
      <description>&lt;P&gt;I had this problem: I wanted to have the sum of the surface area of the flats of my project on my plan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We resolved this kind of problem with the help of Poco and a Python script:&lt;/P&gt;&lt;P&gt;The script sums all the areas and put the result in a property in each zone.&lt;/P&gt;&lt;P&gt;We just have to retrieve the result with a label displaying the property showing the result.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 09:01:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362452#M1559</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2022-11-18T09:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362466#M1560</link>
      <description>&lt;P&gt;May I ask for a more understandable explanation?&lt;BR /&gt;And can you tell me what should I study?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 12:22:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362466#M1560</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2022-11-18T12:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362472#M1561</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture d’écran 2022-11-18 à 13.59.39.png" style="width: 975px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/31723i56E37366FF2B54AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2022-11-18 à 13.59.39.png" alt="Capture d’écran 2022-11-18 à 13.59.39.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 13:02:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362472#M1561</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2022-11-18T13:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362475#M1562</link>
      <description>&lt;P&gt;Even if PYTHON puts the TOTAL value into each ELEMENT, if the area of ROOM 1 changes from 10 -&amp;gt; 20, the TOTAL value cannot be changed without executing PYHON?&lt;BR /&gt;This is the part I don't understand.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 13:22:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362475#M1562</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2022-11-18T13:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362476#M1563</link>
      <description>&lt;P&gt;Yes, you have to execute the script each time you want to update the total for all the zones in the projet.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 13:28:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362476#M1563</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2022-11-18T13:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362477#M1564</link>
      <description>&lt;P&gt;Thank you very much.&lt;BR /&gt;I understand how to make it.&lt;BR /&gt;^^&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 13:34:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362477#M1564</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2022-11-18T13:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362478#M1565</link>
      <description>&lt;P&gt;You can find it here on the french forum archicadlink : &lt;A href="https://www.archi-cadlink.fr/viewtopic.php?f=20&amp;amp;t=3309&amp;amp;start=10" target="_blank"&gt;https://www.archi-cadlink.fr/viewtopic.php?f=20&amp;amp;t=3309&amp;amp;start=10&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 13:38:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362478#M1565</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2022-11-18T13:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a Label GDL that can sum?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362480#M1566</link>
      <description>&lt;P&gt;Thank you very much.&lt;BR /&gt;However, I think this is a problem that caused Graphisoft to recognize FILL only as separate areas, not in the same format as AUTOCAD.&lt;BR /&gt;It seems that Graphisoft, which has not prepared a method to obtain the sum of the same area, must present a new method.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 14:08:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-you-create-a-Label-GDL-that-can-sum/m-p/362480#M1566</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2022-11-18T14:08:33Z</dc:date>
    </item>
  </channel>
</rss>

