<?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 Yes/No Parameters in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/yes-no-parameters/m-p/6703521#M61815</link>
    <description>&lt;P&gt;I am trying to build yes/no parameters that control one another. Ex: Recessed only comes on if Width &amp;gt; 4' or if LED,Globe Lights, Fluroescent are checked how do I write this code&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2016 19:45:20 GMT</pubDate>
    <dc:creator>jason.wells</dc:creator>
    <dc:date>2016-11-22T19:45:20Z</dc:date>
    <item>
      <title>Yes/No Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/yes-no-parameters/m-p/6703521#M61815</link>
      <description>&lt;P&gt;I am trying to build yes/no parameters that control one another. Ex: Recessed only comes on if Width &amp;gt; 4' or if LED,Globe Lights, Fluroescent are checked how do I write this code&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 19:45:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/yes-no-parameters/m-p/6703521#M61815</guid>
      <dc:creator>jason.wells</dc:creator>
      <dc:date>2016-11-22T19:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Yes/No Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/yes-no-parameters/m-p/6703860#M61816</link>
      <description>&lt;P&gt;I think this is what you are looking for:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;= if (or(or(or(LED, Globe Lights) , Fluorescent), Width &amp;gt; 4') , True, False )&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This makes the parameter true if any of those four parameters are true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want it be true if Width &amp;gt; 4 or all other three are true then try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;= if (and(and(and(LED, Globe Lights) , Fluorescent), Width &amp;gt; 4') , True, False )&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 22:19:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/yes-no-parameters/m-p/6703860#M61816</guid>
      <dc:creator>BardiaJahan</dc:creator>
      <dc:date>2016-11-22T22:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Yes/No Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/yes-no-parameters/m-p/6705077#M61817</link>
      <description>dear jason.wells

I think the follow is what you are looking for:
=or(and(LED,Globe Lights,Fluorescent),Width&amp;gt;4)</description>
      <pubDate>Wed, 23 Nov 2016 13:08:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/yes-no-parameters/m-p/6705077#M61817</guid>
      <dc:creator>JimJia</dc:creator>
      <dc:date>2016-11-23T13:08:28Z</dc:date>
    </item>
  </channel>
</rss>

