<?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 IF formula with YES/NO parameters in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/9368221#M36061</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Is there any formula that I can turn on Main parameters, and at the same time, after turn on the Main parameter, I can choose to on which parameter that link to main parameter to be on or off. If I turn off the main parameter, all the parameter that link with main parameter will turn off too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, main yes/no parameter is A and there are B, C and D with yes/no parameter link to parameter A.&lt;/P&gt;&lt;P&gt;If I turn on parameter A, I can choose either B, C or D to be on.&lt;/P&gt;&lt;P&gt;Then if I turn off parameter A, all B, C and D will be off automatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it possible? or is it my explanation is to complicated. haha&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2020 06:55:16 GMT</pubDate>
    <dc:creator>amirCKP</dc:creator>
    <dc:date>2020-03-10T06:55:16Z</dc:date>
    <item>
      <title>IF formula with YES/NO parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/9368221#M36061</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Is there any formula that I can turn on Main parameters, and at the same time, after turn on the Main parameter, I can choose to on which parameter that link to main parameter to be on or off. If I turn off the main parameter, all the parameter that link with main parameter will turn off too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, main yes/no parameter is A and there are B, C and D with yes/no parameter link to parameter A.&lt;/P&gt;&lt;P&gt;If I turn on parameter A, I can choose either B, C or D to be on.&lt;/P&gt;&lt;P&gt;Then if I turn off parameter A, all B, C and D will be off automatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it possible? or is it my explanation is to complicated. haha&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 06:55:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/9368221#M36061</guid>
      <dc:creator>amirCKP</dc:creator>
      <dc:date>2020-03-10T06:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: IF formula with YES/NO parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/9368239#M36062</link>
      <description>&lt;DIV&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6374514"&gt;@amirCKP&lt;/a&gt;&amp;nbsp;. Do you want to add conditions using API? If not, then such questions should be posted &lt;A href="https://forums.autodesk.com/t5/revit-architecture-forum/bd-p/133" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;BR /&gt;As for your question, you can add additional parameters (result), as in the .gif below.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YesNo.gif" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/739357i26A1EB986EEB08AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="YesNo.gif" alt="YesNo.gif" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Mar 2020 07:12:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/9368239#M36062</guid>
      <dc:creator>PavelAnd</dc:creator>
      <dc:date>2020-03-10T07:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: IF formula with YES/NO parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/9370188#M36063</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4631478"&gt;@PavelAnd&lt;/a&gt;&amp;nbsp;shows below you will need additional "calculation parameters" to perform this.&lt;/P&gt;&lt;P&gt;But the formula can be simplefied.&lt;/P&gt;&lt;P&gt;A, B, C and D are the input Yes/No parameters.&lt;/P&gt;&lt;P&gt;A = Main (so if Off, B, C, D should also be off)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calc_B = And(A, B)&lt;/P&gt;&lt;P&gt;Calc_C = And(A, C)&lt;/P&gt;&lt;P&gt;Calc_D = And(A, D)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So only if A and B are true, true is returned, otherwise it's always False (if both false, also false is returned)&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-left" image-alt="YesNo_2.JPG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/739735iD759BA5F420EE36B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YesNo_2.JPG" alt="YesNo_2.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="YesNo_1.JPG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/739736i28ACAACD419F8D0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YesNo_1.JPG" alt="YesNo_1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Michel&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 20:56:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/9370188#M36063</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2020-03-10T20:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: IF formula with YES/NO parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/9370587#M36064</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4631478"&gt;@PavelAnd&lt;/a&gt; .&amp;nbsp; Im sorry. I am new here and Im not really sure what is API means. Btw thanks for your idea. It works prefectly! &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;Same goes to &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3633270"&gt;@TripleM-Dev.net&lt;/a&gt; . Thanks for the simplified formula. After a months think about the formula, finally I get the perfect solution to my problem. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 02:32:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/9370587#M36064</guid>
      <dc:creator>amirCKP</dc:creator>
      <dc:date>2020-03-11T02:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: IF formula with YES/NO parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/10406149#M36065</link>
      <description>&lt;P&gt;This is very useful&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jun 2021 20:56:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/if-formula-with-yes-no-parameters/m-p/10406149#M36065</guid>
      <dc:creator>Albert.Maduro</dc:creator>
      <dc:date>2021-06-20T20:56:25Z</dc:date>
    </item>
  </channel>
</rss>

