<?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: [PYTHON] Sum area script in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/628988#M1038</link>
    <description>&lt;P&gt;Hello Mathias!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very big thank you for providing this script for free. I was struggling with a solution and with the archicad zone stamp tool for years. This solves nearly everything I could hope for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I may add one small wish if you still work on updating the script:&lt;/P&gt;&lt;P&gt;Could you add the option to select a &lt;STRONG&gt;custom property&lt;/STRONG&gt; for the &lt;STRONG&gt;type of area to be used for calculation&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;We sometimes need to use a reducing factor for certain room areas and we can only do this by using a custom property for calculating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be very much appreciated!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2024 09:46:16 GMT</pubDate>
    <dc:creator>pr3</dc:creator>
    <dc:date>2024-08-28T09:46:16Z</dc:date>
    <item>
      <title>[PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/371704#M319</link>
      <description>&lt;P&gt;Hi everybody!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I developped a python script that sum the zone area&amp;nbsp; with the help of Poco.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The script sum all zone of the same zone number and put the result in a custom property. You just have to retrieve the value with a label (example file in the zip).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The custom property has to be to string type.&lt;/P&gt;
&lt;P&gt;The scrip uses the measured area.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SCHEMA.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/34684i1055E8BC40CC5CF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="SCHEMA.png" alt="SCHEMA.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2023-02-27 à 13.52.21.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/34685iB2CFC721D2F92472/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2023-02-27 à 13.52.21.png" alt="Capture d’écran 2023-02-27 à 13.52.21.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 13:15:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/371704#M319</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-02-27T13:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/373764#M320</link>
      <description>&lt;P&gt;Hi everybody.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an update of the script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Add the possibility to choose more than one layer&lt;/P&gt;
&lt;P&gt;-Add the possibility to choose zone category codes instead of layers&lt;/P&gt;
&lt;P&gt;-Add parameters for the use of calculated area or measured area, shown or real values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2023-03-20 à 16.00.20.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/35296i263C693B0EE8CB0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran 2023-03-20 à 16.00.20.png" alt="Capture d’écran 2023-03-20 à 16.00.20.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 15:04:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/373764#M320</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-03-20T15:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/373773#M321</link>
      <description>&lt;P&gt;So many good things about your script, beyond your giving it to the Archicad community.&amp;nbsp; I'm very impressed with your clear, readable code with meaningful variable names and ample use of comments throughout to explain what is happening - in both English and French.&amp;nbsp; Even for someone who may not need this script for their work, I really think it serves as an excellent advanced Python-in-Archicad tutorial because of the clarity of your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will say that, not having used Python in Archicad and having only looked at the 'baby' samples, the length of your script (800 lines) was at first surprising until I read the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for sharing this!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 16:53:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/373773#M321</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2023-03-20T16:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/373848#M322</link>
      <description>&lt;P&gt;Thanks for the nice message Karl.&lt;/P&gt;
&lt;P&gt;I started learning and coding in python to modify this script originally written by Poco (whom I would like to thank by the way!).&lt;/P&gt;
&lt;P&gt;I didn't know anything about Python at the time, and had only coded small objects in GDL until now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There have been many iterations on this script, and it has been heavily reviewed by Poco who proposed many corrections to make the code cleaner.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The script part allowing to do the calculations is in itself quite short.&lt;BR /&gt;What makes it heavy are the comments as you pointed out, but especially the interface with Tkinter.&lt;/P&gt;
&lt;P&gt;I was impressed by the possibilities of the python-archicad connection, even if it is still quite limited.&lt;/P&gt;
&lt;P&gt;We can easily imagine functions coded by experienced users but used by users not initiated to code (thanks to the GUI), which makes the thing very interesting&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that I will continue my tutorials on the archicad-python so that anybody can code this kind of script.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 12:34:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/373848#M322</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-03-21T12:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/575886#M937</link>
      <description>&lt;P&gt;Great job!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 06:47:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/575886#M937</guid>
      <dc:creator>Dawid</dc:creator>
      <dc:date>2023-11-17T06:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/606760#M1009</link>
      <description>&lt;P&gt;Hi, I don't know programming but I would like to learn how I could combine this script with another python script or use them both,&lt;/P&gt;
&lt;P&gt;- 1st one is to sum up areas by zone number like shown in this post&lt;/P&gt;
&lt;P&gt;- 2nd to measure % of areas with exact zone number according to a zone sum that will be taken as 100%&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is better explanation what I mean:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="magdak_1-1717673778530.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/61816i447F610AA9C6CF40/image-size/large?v=v2&amp;amp;px=999" role="button" title="magdak_1-1717673778530.png" alt="magdak_1-1717673778530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And get something in table like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="magdak_2-1717675109579.png" style="width: 762px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/61817i9348E4231B4D986D/image-dimensions/762x99?v=v2" width="762" height="99" role="button" title="magdak_2-1717675109579.png" alt="magdak_2-1717675109579.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am doing it in archicad but here I cannot set zone number property to get 100% into table, so I thought one can achieve it with Python.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="magdak_3-1717675331201.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/61818i4822C173E380598E/image-size/large?v=v2&amp;amp;px=999" role="button" title="magdak_3-1717675331201.png" alt="magdak_3-1717675331201.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better explanation of the problem I run into - various 100% plots in a project:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="magdak_2-1717679799918.png" style="width: 729px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/61821i96F8D0C7F6B5E4BB/image-dimensions/729x221?v=v2" width="729" height="221" role="button" title="magdak_2-1717679799918.png" alt="magdak_2-1717679799918.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would need to define each plot area in Python as 100% for its zone number and then execute calculation of %, I thought it would be easy operation but I am having problem applying this in python script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would be grateful for any help! Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 13:05:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/606760#M1009</guid>
      <dc:creator>magdak</dc:creator>
      <dc:date>2024-06-10T13:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/606971#M1010</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/116414"&gt;@magdak&lt;/a&gt; It seems possible, and the sum area script seems to be a good start. You'll have to study the code that is heavily commented&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@Everybody: I updated the script in order to give feedback to the user: why the script didn't work, how to help correct it. All the feedback will appear ine the python console , like this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2024-06-07 à 14.01.04.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/61896i8215B50705034E72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran 2024-06-07 à 14.01.04.png" alt="Capture d’écran 2024-06-07 à 14.01.04.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If you used or like this script, please vote for any Python wish on the forum!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;We need more development on it!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 12:30:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/606971#M1010</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2024-06-07T12:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/628988#M1038</link>
      <description>&lt;P&gt;Hello Mathias!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very big thank you for providing this script for free. I was struggling with a solution and with the archicad zone stamp tool for years. This solves nearly everything I could hope for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I may add one small wish if you still work on updating the script:&lt;/P&gt;&lt;P&gt;Could you add the option to select a &lt;STRONG&gt;custom property&lt;/STRONG&gt; for the &lt;STRONG&gt;type of area to be used for calculation&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;We sometimes need to use a reducing factor for certain room areas and we can only do this by using a custom property for calculating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be very much appreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 09:46:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/628988#M1038</guid>
      <dc:creator>pr3</dc:creator>
      <dc:date>2024-08-28T09:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/629000#M1039</link>
      <description>&lt;P&gt;Hi pr3,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the factor you're talking about is a percent value then you can do that directly in the Zone Tool.&lt;/P&gt;
&lt;P&gt;Just use the "Reduce by:" field in Zone settings. (Keep in mind that you have to Update Zone for the reduction to take effect!).&lt;/P&gt;
&lt;P&gt;Then just select Calculated Area in that marvelous tool that Mathias has created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below you can find the location of that setting:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucaP_0-1724840169378.png" style="width: 450px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/75676i07D877A797976268/image-dimensions/450x711?v=v2" width="450" height="711" role="button" title="LucaP_0-1724840169378.png" alt="LucaP_0-1724840169378.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 21:41:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/629000#M1039</guid>
      <dc:creator>LucaP</dc:creator>
      <dc:date>2024-08-28T21:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/629004#M1040</link>
      <description>&lt;P&gt;I know you could do it this way but for some reason we abandoned this a few years ago and did id with a calculated property.&lt;/P&gt;&lt;P&gt;I just tired it now and it works just fine...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&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>Wed, 28 Aug 2024 11:06:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/629004#M1040</guid>
      <dc:creator>pr3</dc:creator>
      <dc:date>2024-08-28T11:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/629005#M1041</link>
      <description>&lt;P&gt;Glad it worked!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's nothing wrong with using a calculated property to be honest, if you're keeping track of all the created Properties when working with multiple files regarding one project. It can be a nightmare... That's why I tend to minimize the number of Custom Properties and try to find a way to use built-in solutions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm still waiting for Graphisoft to address the need to have a centralized file for Attributes, Properties etc. across multiple files. Ability to create Company Standard Files is something I'm really hoping to get resolved soon.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 11:15:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/629005#M1041</guid>
      <dc:creator>LucaP</dc:creator>
      <dc:date>2024-08-28T11:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/629006#M1042</link>
      <description>&lt;P&gt;Well as long as Graphisoft continues to add new features that barely make it to 80% done in the first place and&lt;/P&gt;&lt;P&gt;never updates the old features and removes any bugs I just lost hope at this point.&lt;/P&gt;&lt;P&gt;Thats what brought me here in the first place because the zone stamp tool is a real nightmare.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 11:19:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/629006#M1042</guid>
      <dc:creator>pr3</dc:creator>
      <dc:date>2024-08-28T11:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/634836#M1053</link>
      <description>&lt;P&gt;I really hoped Archicad 28 could count % of areas with new update!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt; Without need of learning to code in Python&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":downcast_face_with_sweat:"&gt;😓&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 16:05:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/634836#M1053</guid>
      <dc:creator>magdak</dc:creator>
      <dc:date>2024-10-08T16:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/634934#M1054</link>
      <description>&lt;P&gt;I think that even if graphisoft offer a new tool, it won't be able to answer 100% of our worflow on the matter, it is so diverse!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 08:01:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/634934#M1054</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2024-10-09T08:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664643#M1095</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;New version of the script!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I updated my sum area script (it puts the sum of all area with the same identifier in a custom property in each of the affected zones). &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I also made a "translation" system : the script will check the language code (FRA for the french version for example) and will verify if there is a corresponding file in the parameters folder. For example, translations_FRA for the french version, and will use this file to change the script language.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I strongly advise you to install the opensource/free Tapir plugin for archicad, which provides a palette to launch the script, here:&amp;nbsp;&lt;A href="https://github.com/ENZYME-APD/tapir-archicad-automation?tab=readme-ov-file#archicad-add-on" target="_blank"&gt;https://github.com/ENZYME-APD/tapir-archicad-automation?tab=readme-ov-file#archicad-add-on&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;New in V3:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-&lt;U&gt;New option:&lt;/U&gt; only takes into account zones with a certain custom property value.&lt;BR /&gt;-&lt;U&gt;New interface&lt;/U&gt; that automatically loads previously used parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2025-06-04 à 09.24.34.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87598iB05F3F2D37B31316/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran 2025-06-04 à 09.24.34.png" alt="Capture d’écran 2025-06-04 à 09.24.34.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;U&gt;New option:&lt;/U&gt; three script launch modes: silent, light pop-up (number of zones updated), full report (for debugging/verification) but slow.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2025-06-04 à 09.24.15.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87600i1AEE433E6E705E5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran 2025-06-04 à 09.24.15.png" alt="Capture d’écran 2025-06-04 à 09.24.15.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a little video presentation:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTbD_3yTwyb8%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTbD_3yTwyb8&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTbD_3yTwyb8%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="397" height="223" scrolling="no" title="SCRIPT Sum Area Python Script" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 07:31:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664643#M1095</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2025-06-04T07:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664858#M1096</link>
      <description>&lt;P&gt;Hi, thank you a lot for providing the updated script&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_heart_eyes:"&gt;😍&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I run into a problem, probably you could explain to me what I am missing... I created a custom property for Zones with the name Total and string data type&lt;/P&gt;
&lt;P&gt;but after running a script, I don't get the sum value automatically added to that property... what could be the problem? The classification is attached to zones.&lt;/P&gt;
&lt;P&gt;Is it because of no translation for my language?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-06-05 162204.png" style="width: 721px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87671i220BA4631CBDCDF4/image-dimensions/721x412?v=v2" width="721" height="412" role="button" title="2025-06-05 162204.png" alt="2025-06-05 162204.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-06-05 163754.png" style="width: 798px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87672iDF84DC6E08ADC725/image-dimensions/798x362?v=v2" width="798" height="362" role="button" title="2025-06-05 163754.png" alt="2025-06-05 163754.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These are the results I expected to see in the Total property:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="magdak_1-1749134681725.png" style="width: 800px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87674iB0AC64554A5A616B/image-dimensions/800x258?v=v2" width="800" height="258" role="button" title="magdak_1-1749134681725.png" alt="magdak_1-1749134681725.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another thing, do you think is it possible and not so hard to exchange these 2 parameters?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the script sums up all zones according to the zone category code doing so for all zone numbers... so i.e. all categories 02 with number 1 give the sum&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="magdak_0-1749134396469.png" style="width: 600px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87673i029AB20123B36F9C/image-dimensions/600x631?v=v2" width="600" height="631" role="button" title="magdak_0-1749134396469.png" alt="magdak_0-1749134396469.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance for help&lt;span class="lia-unicode-emoji" title=":folded_hands:"&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>Fri, 06 Jun 2025 17:29:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664858#M1096</guid>
      <dc:creator>magdak</dc:creator>
      <dc:date>2025-06-06T17:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664869#M1097</link>
      <description>&lt;P&gt;I don't intend to add this precise workflow to the script, but you probably could use&amp;nbsp; custom properties to achieve the same result:&lt;/P&gt;
&lt;P&gt;-&lt;STRONG&gt;Custom property&lt;/STRONG&gt; for the apartment number, retrieving category code&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&lt;STRONG&gt;Selecting all layers or categories&lt;/STRONG&gt; in the zone/layer part&lt;/P&gt;
&lt;P&gt;-&lt;STRONG&gt;Use a custom property in the "additional Zone selection Parameter(Advanced Parameters)&lt;/STRONG&gt;. This custom property could be True False : If Category code is 01,02 or 03 then true; if not, then false.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have an error in the archicad report window after clicking on the apply changes button? Can you share the report?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 15:14:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664869#M1097</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2025-06-05T15:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664962#M1098</link>
      <description>&lt;P&gt;After I click on apply changes I get:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="magdak_0-1749194487570.png" style="width: 800px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87703i63F52356E9EE1EA5/image-dimensions/800x552?v=v2" width="800" height="552" role="button" title="magdak_0-1749194487570.png" alt="magdak_0-1749194487570.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the number appears in the total property now, but I don't know how to attach it onto the label for each zone...&lt;/P&gt;
&lt;P&gt;How do you get for each zone type different amount of Total on the label?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 17:43:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664962#M1098</guid>
      <dc:creator>magdak</dc:creator>
      <dc:date>2025-06-06T17:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664967#M1099</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/116414"&gt;@magdak&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;And the number appears in the total property now but I don't know how to attach it onto label for each zone...&lt;/P&gt;
&lt;P&gt;How do you get for each zone type different amount of Total on the label?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't really understand. How do I display the total in plan? I'm using a classic text/autotext label that retrieve the custom property.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the script with different settings and tell the script to put the result in 2 or more different custom properties. Then, you juste have to update your label to retrieve those 2+ custom properties.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 07:42:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664967#M1099</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2025-06-06T07:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: [PYTHON] Sum area script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664972#M1100</link>
      <description>&lt;P&gt;Ohh, I forgot I have basic zone stamp that didn't offer this label property. When I change it to the complex zone stamp then it works well...&amp;nbsp;&lt;/P&gt;&lt;P&gt;but is it possible to get these each stamps onto the layout? To make a Table there with all Totals listed together.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 08:33:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/664972#M1100</guid>
      <dc:creator>magdak</dc:creator>
      <dc:date>2025-06-06T08:33:39Z</dc:date>
    </item>
  </channel>
</rss>

