<?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: Property Expresion Problem in Documentation</title>
    <link>https://community.graphisoft.com/t5/Documentation/Property-Expresion-Problem/m-p/357271#M53635</link>
    <description>&lt;P&gt;Expressions do not work that way.Upon initial evaluate of your statement, Archicad checks if all the variables are valid for the element being evaluated. If any are invalid for that element the whole expression is marked invalid.&lt;/P&gt;&lt;P&gt;Since your two parameters are valid only for their particular type, one or the other will always be invalid.,thus the whole expression.&lt;/P&gt;&lt;P&gt;In this case, you do not even need a if statement. Just make two sequences using the ADD button. Each with just the parameter name. Archicad will then pick the correct one&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sequence.PNG" style="width: 637px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30208iCD1C11DB72FDC440/image-size/large?v=v2&amp;amp;px=999" role="button" title="sequence.PNG" alt="sequence.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Make sure you set the availability for both types&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2022 17:56:41 GMT</pubDate>
    <dc:creator>poco2013</dc:creator>
    <dc:date>2022-09-27T17:56:41Z</dc:date>
    <item>
      <title>Property Expresion Problem</title>
      <link>https://community.graphisoft.com/t5/Documentation/Property-Expresion-Problem/m-p/357235#M53633</link>
      <description>&lt;P&gt;I have created a custom property for a Length value.&lt;BR /&gt;I want it to have either the value for the height of a column or the value for the length of a beam.&lt;/P&gt;&lt;P&gt;I test for If Element Type = "Beam" or "Column"&lt;/P&gt;&lt;P&gt;If I set the expression for if just Beam testing or just Column testing is works fine.&lt;/P&gt;&lt;P&gt;IFS ( &lt;STRONG&gt;Element Type&lt;/STRONG&gt; = "Column", &lt;STRONG&gt;Maximum height of the Column&lt;/STRONG&gt;)&amp;nbsp; --- this works fine&lt;/P&gt;&lt;P&gt;IFS( &lt;STRONG&gt;Element Type&lt;/STRONG&gt; = "Beam", Length left)&amp;nbsp; &amp;nbsp;---- this works fine&lt;/P&gt;&lt;P&gt;But when I combine the expressions I get nothing&lt;/P&gt;&lt;P&gt;IFS ( &lt;STRONG&gt;Element Type&lt;/STRONG&gt; = "Column", &lt;STRONG&gt;Maximum Height of the Column&lt;/STRONG&gt;, &lt;STRONG&gt;Element Type&lt;/STRONG&gt; = "Beam", &lt;STRONG&gt;Length Left&lt;/STRONG&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="gdford_0-1664296962934.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30179i11E63A6A4341C03D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gdford_0-1664296962934.png" alt="gdford_0-1664296962934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any Thoughts on how I should proceed?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 16:52:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Property-Expresion-Problem/m-p/357235#M53633</guid>
      <dc:creator>gdford</dc:creator>
      <dc:date>2022-09-27T16:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Property Expresion Problem</title>
      <link>https://community.graphisoft.com/t5/Documentation/Property-Expresion-Problem/m-p/357271#M53635</link>
      <description>&lt;P&gt;Expressions do not work that way.Upon initial evaluate of your statement, Archicad checks if all the variables are valid for the element being evaluated. If any are invalid for that element the whole expression is marked invalid.&lt;/P&gt;&lt;P&gt;Since your two parameters are valid only for their particular type, one or the other will always be invalid.,thus the whole expression.&lt;/P&gt;&lt;P&gt;In this case, you do not even need a if statement. Just make two sequences using the ADD button. Each with just the parameter name. Archicad will then pick the correct one&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sequence.PNG" style="width: 637px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30208iCD1C11DB72FDC440/image-size/large?v=v2&amp;amp;px=999" role="button" title="sequence.PNG" alt="sequence.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Make sure you set the availability for both types&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 17:56:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Property-Expresion-Problem/m-p/357271#M53635</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2022-09-27T17:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Property Expresion Problem</title>
      <link>https://community.graphisoft.com/t5/Documentation/Property-Expresion-Problem/m-p/357272#M53636</link>
      <description>&lt;P&gt;All I can figure is that the Data Type for Beams and Columns must be different???&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 18:15:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Property-Expresion-Problem/m-p/357272#M53636</guid>
      <dc:creator>gdford</dc:creator>
      <dc:date>2022-09-27T18:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Property Expresion Problem</title>
      <link>https://community.graphisoft.com/t5/Documentation/Property-Expresion-Problem/m-p/357274#M53637</link>
      <description>&lt;P&gt;Hey Hey Hey!!!&lt;/P&gt;&lt;P&gt;That worked.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gdford_0-1664303242015.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30209iD98E2AEDE0D8F018/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gdford_0-1664303242015.png" alt="gdford_0-1664303242015.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think I new that 4 or 5 years ago - forgot about the ADD button.&lt;/P&gt;&lt;P&gt;If I could remember half of what I learn it would be sweet!!&lt;/P&gt;&lt;P&gt;Thank you so much Gerry!!!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 18:29:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Property-Expresion-Problem/m-p/357274#M53637</guid>
      <dc:creator>gdford</dc:creator>
      <dc:date>2022-09-27T18:29:00Z</dc:date>
    </item>
  </channel>
</rss>

