<?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: Multiply Quantity using Expressions in Project data &amp; BIM</title>
    <link>https://community.graphisoft.com/t5/Project-data-BIM/Multiply-Quantity-using-Expressions/m-p/573837#M9754</link>
    <description>&lt;P&gt;I assume that you are using different Zone Categories for apartment units&lt;/P&gt;
&lt;P&gt;so:&lt;/P&gt;
&lt;P&gt;add an integer property and&lt;/P&gt;
&lt;P&gt;add the expression:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF ( {Property:Zone/Zone Category} = "1 BED", 1, IF ( {Property:Zone/Zone Category} = "2 BED", 2, IF ( {Property:Zone/Zone Category} = "3 BED", 3, 0 ) ) )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which will give you a 0 if the value is not "1 BED" or "2 BED" or "3 BED"&lt;/P&gt;
&lt;P&gt;or you could use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IFS ( {Property:Zone/Zone Category} = "1 BED", 1, {Property:Zone/Zone Category} = "2 BED", 2 ,{Property:Zone/Zone Category} = "3 BED", 3 ,TRUE, 0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which will give you an 0&amp;nbsp; if the value is not "1 BED" or "2 BED" or "3 BED"&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="AllanP_0-1698965894234.png" style="width: 660px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/48384i6DB90B4CA470D2E5/image-dimensions/660x346?v=v2" width="660" height="346" role="button" title="AllanP_0-1698965894234.png" alt="AllanP_0-1698965894234.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;add the field from " parameters and properties"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AllanP_2-1698966141828.png" style="width: 561px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/48386i5E617D2BCAEFB8D8/image-dimensions/561x164?v=v2" width="561" height="164" role="button" title="AllanP_2-1698966141828.png" alt="AllanP_2-1698966141828.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="AllanP_1-1698966054633.png" style="width: 721px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/48385iDAA7848C46F0C758/image-dimensions/721x397?v=v2" width="721" height="397" role="button" title="AllanP_1-1698966054633.png" alt="AllanP_1-1698966054633.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;then sum the properties,&lt;/P&gt;
&lt;P&gt;and "Hey Presto, you have baked a cake..."&lt;/P&gt;
&lt;P&gt;I hope this is useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.&lt;/P&gt;
&lt;P&gt;using if statements:&lt;/P&gt;
&lt;P&gt;&lt;A target="_blank" rel="noopener"&gt;file:///C:/Program%20Files/GRAPHISOFT/ARCHICAD%2025/Help/Files/index.htm?rhcsh=1&amp;amp;rhnewwnd=0#t=_AC25_Help%2F061_ExpressionFunctions%2F061_ExpressionFunctions-18.htm&amp;amp;rhsearch=ifs&amp;amp;rhhlterm=ifs&amp;amp;rhsyns=%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A target="_blank" rel="noopener"&gt;file:///C:/Program%20Files/GRAPHISOFT/ARCHICAD%2025/Help/Files/index.htm?rhcsh=1&amp;amp;rhnewwnd=0#t=_AC25_Help%2F061_ExpressionFunctions%2F061_ExpressionFunctions-17.htm&amp;amp;rhsearch=ifs&amp;amp;rhhlterm=ifs&amp;amp;rhsyns=%20&lt;/A&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2023 01:13:25 GMT</pubDate>
    <dc:creator>AllanP</dc:creator>
    <dc:date>2023-12-04T01:13:25Z</dc:date>
    <item>
      <title>Multiply Quantity using Expressions</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Multiply-Quantity-using-Expressions/m-p/573699#M9753</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to calculate for parking requirements for various apartment types.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Right now, I've created a schedule that counts the number of zones plotted in each apartment unit. Ideally, one unit (meaning one zone) equals to just one count of parking. But in the 2 bedroom apartments, there is a requirement of 2 parkings per unit.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I create an expressions that multiplies the count of a zone into 2 or 3?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 09:20:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Multiply-Quantity-using-Expressions/m-p/573699#M9753</guid>
      <dc:creator>JCCARLOS91</dc:creator>
      <dc:date>2023-11-02T09:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply Quantity using Expressions</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Multiply-Quantity-using-Expressions/m-p/573837#M9754</link>
      <description>&lt;P&gt;I assume that you are using different Zone Categories for apartment units&lt;/P&gt;
&lt;P&gt;so:&lt;/P&gt;
&lt;P&gt;add an integer property and&lt;/P&gt;
&lt;P&gt;add the expression:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF ( {Property:Zone/Zone Category} = "1 BED", 1, IF ( {Property:Zone/Zone Category} = "2 BED", 2, IF ( {Property:Zone/Zone Category} = "3 BED", 3, 0 ) ) )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which will give you a 0 if the value is not "1 BED" or "2 BED" or "3 BED"&lt;/P&gt;
&lt;P&gt;or you could use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IFS ( {Property:Zone/Zone Category} = "1 BED", 1, {Property:Zone/Zone Category} = "2 BED", 2 ,{Property:Zone/Zone Category} = "3 BED", 3 ,TRUE, 0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which will give you an 0&amp;nbsp; if the value is not "1 BED" or "2 BED" or "3 BED"&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="AllanP_0-1698965894234.png" style="width: 660px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/48384i6DB90B4CA470D2E5/image-dimensions/660x346?v=v2" width="660" height="346" role="button" title="AllanP_0-1698965894234.png" alt="AllanP_0-1698965894234.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;add the field from " parameters and properties"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AllanP_2-1698966141828.png" style="width: 561px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/48386i5E617D2BCAEFB8D8/image-dimensions/561x164?v=v2" width="561" height="164" role="button" title="AllanP_2-1698966141828.png" alt="AllanP_2-1698966141828.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="AllanP_1-1698966054633.png" style="width: 721px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/48385iDAA7848C46F0C758/image-dimensions/721x397?v=v2" width="721" height="397" role="button" title="AllanP_1-1698966054633.png" alt="AllanP_1-1698966054633.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;then sum the properties,&lt;/P&gt;
&lt;P&gt;and "Hey Presto, you have baked a cake..."&lt;/P&gt;
&lt;P&gt;I hope this is useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.&lt;/P&gt;
&lt;P&gt;using if statements:&lt;/P&gt;
&lt;P&gt;&lt;A target="_blank" rel="noopener"&gt;file:///C:/Program%20Files/GRAPHISOFT/ARCHICAD%2025/Help/Files/index.htm?rhcsh=1&amp;amp;rhnewwnd=0#t=_AC25_Help%2F061_ExpressionFunctions%2F061_ExpressionFunctions-18.htm&amp;amp;rhsearch=ifs&amp;amp;rhhlterm=ifs&amp;amp;rhsyns=%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A target="_blank" rel="noopener"&gt;file:///C:/Program%20Files/GRAPHISOFT/ARCHICAD%2025/Help/Files/index.htm?rhcsh=1&amp;amp;rhnewwnd=0#t=_AC25_Help%2F061_ExpressionFunctions%2F061_ExpressionFunctions-17.htm&amp;amp;rhsearch=ifs&amp;amp;rhhlterm=ifs&amp;amp;rhsyns=%20&lt;/A&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 01:13:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Multiply-Quantity-using-Expressions/m-p/573837#M9754</guid>
      <dc:creator>AllanP</dc:creator>
      <dc:date>2023-12-04T01:13:25Z</dc:date>
    </item>
  </channel>
</rss>

