<?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: Expression question in Project data &amp; BIM</title>
    <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396827#M9570</link>
    <description>&lt;P&gt;Thinking about this again on my way to the office...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To be a little more detailed. The outcome can depend on 1 or 2 variables depending on the circumstance. So, I am having an issue with how to write the expression for my Reflected Ceiling Plan Legend; we have numerous levels and trays. So, to label my different ceiling heights/materials within a single room on the legend, the outcome will depend on just the material in one area and another area, the material, and the section/step of the tray; I created a property group to grab the info to specify the variables. I can understand this labeling method might be wrong or confusing to some, but I am trying to make my employer happy since he writes the checks.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the needed command is IFS, I am still structuring the expression wrong. I am certain I am making it harder than it should be, and overthinking it, but the light bulb hasn't turned on yet in my head. It is still warming up.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 12:04:16 GMT</pubDate>
    <dc:creator>Red</dc:creator>
    <dc:date>2023-08-31T12:04:16Z</dc:date>
    <item>
      <title>Expression question</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396436#M9550</link>
      <description>&lt;P&gt;I am hitting roadblocks with listing a variable's value when it sometimes has one or two conditions to determine the answer. I am trying a Sequence, but I know I am laying it out incorrectly, and I can not figure it out...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I realize that by moving the Sequence around in order, the first one will always cancel out the remaining. What is the proper way to structure this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example (each line is a sequence):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;IF ( AND ( Level = "1", Category = "A" ), &lt;STRONG&gt;VARIABLE&lt;/STRONG&gt;, N/A)&lt;/LI&gt;
&lt;LI&gt;IF ( AND ( Level = "1"), &lt;STRONG&gt;VARIABLE&lt;/STRONG&gt;, N/A)&lt;/LI&gt;
&lt;LI&gt;IF ( AND ( Level = "2", Category = "B" ), &lt;STRONG&gt;VARIABLE&lt;/STRONG&gt;, N/A)&lt;/LI&gt;
&lt;LI&gt;IF ( AND ( Level = "2"), &lt;STRONG&gt;VARIABLE&lt;/STRONG&gt;, N/A)&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 28 Aug 2023 21:21:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396436#M9550</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2023-08-28T21:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression question</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396440#M9551</link>
      <description>&lt;P&gt;Sequences are generally used if a evaluated attribute, in a series, may be not be applicable to all of the targeted types. In this case, you should be using a IFS instead. The return variable must be the same type for all returns.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 22:07:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396440#M9551</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2023-08-28T22:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Expression question</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396448#M9552</link>
      <description>&lt;P&gt;Getting there but still have issues trying to get a LEN value for the variable...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IFS ( Level = "1", Catergory = "A", TRUE, &lt;STRONG&gt;VARIABLE&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 23:45:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396448#M9552</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2023-08-28T23:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expression question</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396453#M9553</link>
      <description>&lt;P&gt;At this point, I have no idea as to what your trying to accomplish. Suggest you review the expression help. Are you using custom properties? Also AFAIK, LEN returns a number? More specific details needed. Any returned value must match that selected in the expression type. What variable are you using, etc. ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;maybe??&lt;/P&gt;
&lt;P&gt;IFS ( Home Story Number = 1, LEN("ABC") ) ==== returns 3&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 01:17:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396453#M9553</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2023-08-29T01:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression question</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396455#M9554</link>
      <description>&lt;P&gt;Thank you for the replies, I will read more into examples/help, and I will eventually get.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 01:30:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396455#M9554</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2023-08-29T01:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression question</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396827#M9570</link>
      <description>&lt;P&gt;Thinking about this again on my way to the office...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To be a little more detailed. The outcome can depend on 1 or 2 variables depending on the circumstance. So, I am having an issue with how to write the expression for my Reflected Ceiling Plan Legend; we have numerous levels and trays. So, to label my different ceiling heights/materials within a single room on the legend, the outcome will depend on just the material in one area and another area, the material, and the section/step of the tray; I created a property group to grab the info to specify the variables. I can understand this labeling method might be wrong or confusing to some, but I am trying to make my employer happy since he writes the checks.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the needed command is IFS, I am still structuring the expression wrong. I am certain I am making it harder than it should be, and overthinking it, but the light bulb hasn't turned on yet in my head. It is still warming up.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 12:04:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396827#M9570</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2023-08-31T12:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression question</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396840#M9571</link>
      <description>&lt;P&gt;Expressions can only work with the properties of a single object to which that expression is assigned. Therefore: if you are gathering info (custom properties) from different objects in a room, you can not use a expression. You must use either the C++ add-on or a Python script. Both use manual updates. Another possibility is to create a schedule, and export all the properties to excel, do the calculations there and import back into Archicad. Although, if you you only have a few labels, just update manually?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 13:15:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396840#M9571</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2023-08-31T13:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Expression question</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396842#M9572</link>
      <description>&lt;P&gt;Replying to this, if I understood correctly:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/7804"&gt;@poco2013&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Expressions can only work with the properties of a single object to which that expression is assigned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The properties will be from a single object for each entry, but it could refer to complex profiled beams or slabs. It will not pull info from two different objects for a single entry.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 13:22:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-question/m-p/396842#M9572</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2023-08-31T13:22:47Z</dc:date>
    </item>
  </channel>
</rss>

