<?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 Help with Expressions in Project data &amp; BIM</title>
    <link>https://community.graphisoft.com/t5/Project-data-BIM/Help-with-Expressions/m-p/383520#M9329</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I want to do&lt;/STRONG&gt;: Determine and automate how many blocks are in a column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;: I have figured out the expression I need to determine how many blocks that are in the column. The problem I have is that after a certain height the expression needs to change to factor in more blocks. The expression that I have already figured out&amp;nbsp;( ( ( Column/Maximum Height of the Column ) / ( 90 mm ) ) * 2 ) -1 only works with columns up to 1000mm, which means I need to add in a greater or less than operator in the expression to &lt;SPAN&gt;differentiate between them. This later placed into a schedule which I have already figured out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;: How do I get the expression to work with less than &amp;lt; 1000mm and greater than &amp;gt; 1000mm?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;For example&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Block Size = 390mm X 190mm X 90mm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Column Layout looks like this and after 1000mm it requires to have an extra block on top hence the expression needing to change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HTH1355_0-1686704201673.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38946i1111DC9E65D667F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HTH1355_0-1686704201673.png" alt="HTH1355_0-1686704201673.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the column is 600mm high the expression would be&amp;nbsp;( ( ( 600mm ) / ( 90 mm ) ) * 2 ) -1&lt;/P&gt;&lt;P&gt;If the column is 1200mm high the expression would be&amp;nbsp;( ( ( 1200 ) / ( 90 mm ) ) * 2 ) -2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this is enough information. Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jun 2023 01:08:00 GMT</pubDate>
    <dc:creator>HTH1355</dc:creator>
    <dc:date>2023-06-14T01:08:00Z</dc:date>
    <item>
      <title>Help with Expressions</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Help-with-Expressions/m-p/383520#M9329</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I want to do&lt;/STRONG&gt;: Determine and automate how many blocks are in a column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;: I have figured out the expression I need to determine how many blocks that are in the column. The problem I have is that after a certain height the expression needs to change to factor in more blocks. The expression that I have already figured out&amp;nbsp;( ( ( Column/Maximum Height of the Column ) / ( 90 mm ) ) * 2 ) -1 only works with columns up to 1000mm, which means I need to add in a greater or less than operator in the expression to &lt;SPAN&gt;differentiate between them. This later placed into a schedule which I have already figured out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;: How do I get the expression to work with less than &amp;lt; 1000mm and greater than &amp;gt; 1000mm?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;For example&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Block Size = 390mm X 190mm X 90mm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Column Layout looks like this and after 1000mm it requires to have an extra block on top hence the expression needing to change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HTH1355_0-1686704201673.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38946i1111DC9E65D667F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HTH1355_0-1686704201673.png" alt="HTH1355_0-1686704201673.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the column is 600mm high the expression would be&amp;nbsp;( ( ( 600mm ) / ( 90 mm ) ) * 2 ) -1&lt;/P&gt;&lt;P&gt;If the column is 1200mm high the expression would be&amp;nbsp;( ( ( 1200 ) / ( 90 mm ) ) * 2 ) -2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this is enough information. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 01:08:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Help-with-Expressions/m-p/383520#M9329</guid>
      <dc:creator>HTH1355</dc:creator>
      <dc:date>2023-06-14T01:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expressions</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Help-with-Expressions/m-p/383815#M9330</link>
      <description>&lt;P&gt;I took the long road which I'm sure you can simplify.&lt;/P&gt;
&lt;P&gt;*Edit* Attached screenshot of schedule.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created three properties:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;UnitString:
&lt;OL&gt;
&lt;LI&gt;STRCALCUNIT (Maximum Height of the Column)&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;StringNum:
&lt;OL&gt;
&lt;LI&gt;STRTONUM (UnitString)&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;BlockNum:
&lt;OL&gt;
&lt;LI&gt;ROUNDUP ( IFS ( (StringNum &amp;lt; 601 ); ( ( ( StringNum / 90 ) * 2 ) - 1 ); ( StringNum &amp;gt; 600 ); ( ( ( StringNum / 90 ) * 2 ) - 2 ) ); 0 )&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;All are set to only be available to Classification: Column (again - you'll find a way that works for you)&lt;BR /&gt;&lt;BR /&gt;It works for me - try and see if it works for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/56644i9DF72D059B33A8A9/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Blocks.png" title="Blocks.png" /&gt;</description>
      <pubDate>Thu, 15 Jun 2023 11:54:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Help-with-Expressions/m-p/383815#M9330</guid>
      <dc:creator>Erik Bjornhage</dc:creator>
      <dc:date>2023-06-15T11:54:56Z</dc:date>
    </item>
  </channel>
</rss>

