<?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 Is there a limit in lenght for custom properties formulas? in Project data &amp; BIM</title>
    <link>https://community.graphisoft.com/t5/Project-data-BIM/Is-there-a-limit-in-lenght-for-custom-properties-formulas/m-p/680705#M15059</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I was thinking about an alternative to the way my sum area python script works:&amp;nbsp;&lt;A href="https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/td-p/371704" target="_blank"&gt;https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/td-p/371704&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Atm, the result of the sum is stored in each zone. The problem is that if the zone is locked, the layer is locked, the zone is a module.... the script can't work. I don't think that this is a big problem, i could work on unlocking layers and objects, opening modules, reserving elements, but I would like to test something else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An alternative would be to store with a python/tapir script all the result in a single formula that would look like that:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&lt;FONT color="#FF0000"&gt;IF (ZONE NUMBER = A, value of the sum of all area with a zone nuber = A;&lt;/FONT&gt;&amp;nbsp;(&lt;FONT color="#0000FF"&gt;ZONE NUMBER = B, value of the sum of all area with a zone nuber = B&lt;/FONT&gt;;&amp;nbsp; &lt;FONT color="#00FF00"&gt;ETC...&lt;/FONT&gt;) &amp;nbsp;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That would mean I could have several hundred nested Ifs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My questions:&lt;BR /&gt;- Is there a size limit for a formula?&lt;BR /&gt;- Will I crash Archicad (and my computer?) with formulas that are computationally intensive?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Mac Apple Silicon &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Oct 2025 14:32:20 GMT</pubDate>
    <dc:creator>Mathias Jonathan</dc:creator>
    <dc:date>2025-10-20T14:32:20Z</dc:date>
    <item>
      <title>Is there a limit in lenght for custom properties formulas?</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Is-there-a-limit-in-lenght-for-custom-properties-formulas/m-p/680705#M15059</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I was thinking about an alternative to the way my sum area python script works:&amp;nbsp;&lt;A href="https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/td-p/371704" target="_blank"&gt;https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/td-p/371704&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Atm, the result of the sum is stored in each zone. The problem is that if the zone is locked, the layer is locked, the zone is a module.... the script can't work. I don't think that this is a big problem, i could work on unlocking layers and objects, opening modules, reserving elements, but I would like to test something else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An alternative would be to store with a python/tapir script all the result in a single formula that would look like that:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&lt;FONT color="#FF0000"&gt;IF (ZONE NUMBER = A, value of the sum of all area with a zone nuber = A;&lt;/FONT&gt;&amp;nbsp;(&lt;FONT color="#0000FF"&gt;ZONE NUMBER = B, value of the sum of all area with a zone nuber = B&lt;/FONT&gt;;&amp;nbsp; &lt;FONT color="#00FF00"&gt;ETC...&lt;/FONT&gt;) &amp;nbsp;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That would mean I could have several hundred nested Ifs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My questions:&lt;BR /&gt;- Is there a size limit for a formula?&lt;BR /&gt;- Will I crash Archicad (and my computer?) with formulas that are computationally intensive?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Mac Apple Silicon &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 14:32:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Is-there-a-limit-in-lenght-for-custom-properties-formulas/m-p/680705#M15059</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2025-10-20T14:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit in lenght for custom properties formulas?</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Is-there-a-limit-in-lenght-for-custom-properties-formulas/m-p/680709#M15060</link>
      <description>&lt;P&gt;And same question for the project info part, I could store all data in one info if it is possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: I tried with 300 values and It worked well. Lets go for a new version !&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 15:11:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Is-there-a-limit-in-lenght-for-custom-properties-formulas/m-p/680709#M15060</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2025-10-20T15:11:24Z</dc:date>
    </item>
  </channel>
</rss>

