<?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: Boolean Statement w/ Text, Erroring in Revit MEP Forum</title>
    <link>https://forums.autodesk.com/t5/revit-mep-forum/boolean-statement-w-text-erroring/m-p/12926280#M3906</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13415217"&gt;@jessem5CN9L&lt;/a&gt;, like&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6398269"&gt;@djthompson&lt;/a&gt;&amp;nbsp;mentioned, text cannot be referenced in formulas unless it is to display a specific result in a Text parameter. A way you could get around this, would be to use another YesNo parameter to toggle the Card Reader / "CR" reference. Depending on how many values you need for the DO_Card Reader parameter, you could just duplicate this formulaic system as much as you need.&lt;BR /&gt;&lt;BR /&gt;Also, in order to control YesNo parameters through formulas, they have an&amp;nbsp;&lt;EM&gt;assumed&lt;/EM&gt; result, where if the condition in the formula is not met, then the parameter will be equal to No (and vise versa). I've included an example of these formulas.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2024 14:07:12 GMT</pubDate>
    <dc:creator>tim.ingle</dc:creator>
    <dc:date>2024-07-29T14:07:12Z</dc:date>
    <item>
      <title>Boolean Statement w/ Text, Erroring</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/boolean-statement-w-text-erroring/m-p/12919545#M3904</link>
      <description>&lt;P&gt;Hi all, been scratching my head on this. Given the parameters below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jessem5CN9L_0-1721915398126.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1390929iB531B9F37304BE13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jessem5CN9L_0-1721915398126.png" alt="jessem5CN9L_0-1721915398126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I want is that when&amp;nbsp;DO_Card Reader says "CR", only Red will be checked. And when&amp;nbsp;DO_Card Reader says anything else, only Blue will be checked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the statement&amp;nbsp; &lt;STRONG&gt;if([DO_Card Reader]="CR", 1=1, 1=0)&lt;/STRONG&gt; and other variations, but I keep getting an "Improper use of boolean expressions" error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A different statement that has no text like "CR" works just fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What formula can I put in here to make it work properly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 13:53:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/boolean-statement-w-text-erroring/m-p/12919545#M3904</guid>
      <dc:creator>jessem5CN9L</dc:creator>
      <dc:date>2024-07-25T13:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Statement w/ Text, Erroring</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/boolean-statement-w-text-erroring/m-p/12921460#M3905</link>
      <description>&lt;P&gt;As incredible as it may seam you cannot do any Boolean operations with text in Revit.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 10:33:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/boolean-statement-w-text-erroring/m-p/12921460#M3905</guid>
      <dc:creator>djthompson</dc:creator>
      <dc:date>2024-07-26T10:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Statement w/ Text, Erroring</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/boolean-statement-w-text-erroring/m-p/12926280#M3906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13415217"&gt;@jessem5CN9L&lt;/a&gt;, like&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6398269"&gt;@djthompson&lt;/a&gt;&amp;nbsp;mentioned, text cannot be referenced in formulas unless it is to display a specific result in a Text parameter. A way you could get around this, would be to use another YesNo parameter to toggle the Card Reader / "CR" reference. Depending on how many values you need for the DO_Card Reader parameter, you could just duplicate this formulaic system as much as you need.&lt;BR /&gt;&lt;BR /&gt;Also, in order to control YesNo parameters through formulas, they have an&amp;nbsp;&lt;EM&gt;assumed&lt;/EM&gt; result, where if the condition in the formula is not met, then the parameter will be equal to No (and vise versa). I've included an example of these formulas.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 14:07:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/boolean-statement-w-text-erroring/m-p/12926280#M3906</guid>
      <dc:creator>tim.ingle</dc:creator>
      <dc:date>2024-07-29T14:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Statement w/ Text, Erroring</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/boolean-statement-w-text-erroring/m-p/12926600#M3907</link>
      <description>&lt;P&gt;One way is to utilize use of lookuptables which can be expanded for more complex iterations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mikewp90_0-1722268381973.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1392030iEBD954B1E91B1E40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mikewp90_0-1722268381973.png" alt="mikewp90_0-1722268381973.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mikewp90_1-1722268413280.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1392031i93444D3ED12D6EEA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mikewp90_1-1722268413280.png" alt="mikewp90_1-1722268413280.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mikewp90_2-1722268447809.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1392032i2DB3D0636F4E3091/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mikewp90_2-1722268447809.png" alt="mikewp90_2-1722268447809.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 15:55:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/boolean-statement-w-text-erroring/m-p/12926600#M3907</guid>
      <dc:creator>mikewp90</dc:creator>
      <dc:date>2024-07-29T15:55:21Z</dc:date>
    </item>
  </channel>
</rss>

