<?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 Expression to extract Fixed Value from Random value in Documentation</title>
    <link>https://community.graphisoft.com/t5/Documentation/Expression-to-extract-Fixed-Value-from-Random-value/m-p/335557#M50887</link>
    <description>&lt;P&gt;Not sure the best way to describe this but I'll give it a go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a project we might have 5 different walls, the difference might be composite, might be properties, might be complex profile, might be combination.&lt;/P&gt;&lt;P&gt;Have a schedule which shows these great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Want to Graphic override each of these five to a different colour, eg the 100mm conc wall to red, the 150mm timber wall to blue.&lt;/P&gt;&lt;P&gt;Can do this fine, but the criteria of each graphic override rule is specific to that wall type, eg element is wall, composite is x, property is y.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the next project there might be 5 totally different wall types, but still want to Graphic override the first type to red, the second to blue and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There could be in excess of 30 wall types that could be used across all projects, but less than say 5 on each individual project if that makes sense.&lt;/P&gt;&lt;P&gt;So graphic overriding for each type would be too onerous and would need over 30 colours while only 5 colours are required to show the differences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what I'm hoping for is some kind of expression, that regardless of the wall types (within a set criteria), will return a 1,2,3,4 or 5, based on whatever it can.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps an expression that multiples the lengths of a type by say 5,000 then uses a ROUNDUP function then a LEFT function to return the first digit???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas guys?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really hope the above makes some kind of sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2022 04:44:17 GMT</pubDate>
    <dc:creator>Josh Verran</dc:creator>
    <dc:date>2022-04-14T04:44:17Z</dc:date>
    <item>
      <title>Expression to extract Fixed Value from Random value</title>
      <link>https://community.graphisoft.com/t5/Documentation/Expression-to-extract-Fixed-Value-from-Random-value/m-p/335557#M50887</link>
      <description>&lt;P&gt;Not sure the best way to describe this but I'll give it a go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a project we might have 5 different walls, the difference might be composite, might be properties, might be complex profile, might be combination.&lt;/P&gt;&lt;P&gt;Have a schedule which shows these great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Want to Graphic override each of these five to a different colour, eg the 100mm conc wall to red, the 150mm timber wall to blue.&lt;/P&gt;&lt;P&gt;Can do this fine, but the criteria of each graphic override rule is specific to that wall type, eg element is wall, composite is x, property is y.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the next project there might be 5 totally different wall types, but still want to Graphic override the first type to red, the second to blue and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There could be in excess of 30 wall types that could be used across all projects, but less than say 5 on each individual project if that makes sense.&lt;/P&gt;&lt;P&gt;So graphic overriding for each type would be too onerous and would need over 30 colours while only 5 colours are required to show the differences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what I'm hoping for is some kind of expression, that regardless of the wall types (within a set criteria), will return a 1,2,3,4 or 5, based on whatever it can.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps an expression that multiples the lengths of a type by say 5,000 then uses a ROUNDUP function then a LEFT function to return the first digit???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas guys?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really hope the above makes some kind of sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 04:44:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Expression-to-extract-Fixed-Value-from-Random-value/m-p/335557#M50887</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2022-04-14T04:44:17Z</dc:date>
    </item>
  </channel>
</rss>

