<?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: IF statement, in yes/no parameter, and value input in Revit Architecture Forum</title>
    <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12176869#M41200</link>
    <description>You understood correctly what I meant.&lt;BR /&gt;I am not sure if there is another software that allows you this, but this does not mean it cannot be done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Thu, 17 Aug 2023 08:09:34 GMT</pubDate>
    <dc:creator>giovanni.bonavia.pela</dc:creator>
    <dc:date>2023-08-17T08:09:34Z</dc:date>
    <item>
      <title>IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12174049#M41185</link>
      <description>&lt;P&gt;I was wandering if it is possible to make a statement that will allow the parameter to have a specific value IF a YES/NO parameter is "True", and leave the input for the parameter available for the user IF the YES/NO parameter is "False".&lt;BR /&gt;To be a little more clear, here is an example of the statement I would like to create:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="giovannibonaviapela_0-1692174230278.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253766i9DB78A2093EF646D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="giovannibonaviapela_0-1692174230278.png" alt="giovannibonaviapela_0-1692174230278.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this image I have created a parameter YES/NO that says that "Rectangle" is True or False.&lt;BR /&gt;If True, then the value of H2 = 0, but if False, then I would like the user to be able to input the value as usual.&lt;BR /&gt;&lt;BR /&gt;I believe this is not possible but it will be extremely useful. We just need a String definition to allow this to happen. If not true than you type the input. Or in a better way, if not, then the value is not overwritten by the parameter and the user is still able to input.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 08:29:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12174049#M41185</guid>
      <dc:creator>giovanni.bonavia.pela</dc:creator>
      <dc:date>2023-08-16T08:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12174062#M41186</link>
      <description>&lt;P&gt;No. You will need another parameter for input value.&lt;/P&gt;
&lt;P&gt;If (rectangle, 0 mm, [input parameter])&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 08:36:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12174062#M41186</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2023-08-16T08:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12174099#M41187</link>
      <description>&lt;P&gt;Yeah I understand, but it is a bit of a redundancy isn't it? I mean I have to create an additional parameter to have a parameter that is the same parameter I need to input. I feel this is a must to update in revit to make family parameters more effective.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 08:50:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12174099#M41187</guid>
      <dc:creator>giovanni.bonavia.pela</dc:creator>
      <dc:date>2023-08-16T08:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12174817#M41188</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12386225"&gt;@giovanni.bonavia.pela&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Yeah I understand, but it is a bit of a redundancy isn't it? I mean I have to create an additional parameter to have a parameter that is the same parameter I need to input. I feel this is a must to update in revit to make family parameters more effective.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It absolutely is. Parameter functionality is one of the things that desperately needs an overhaul in Revit.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 14:00:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12174817#M41188</guid>
      <dc:creator>mhiserZFHXS</dc:creator>
      <dc:date>2023-08-16T14:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175076#M41189</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="H1.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253996i10B492BE1EC326D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="H1.png" alt="H1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="H2.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253997iD6E90F87B0A4C166/image-size/medium?v=v2&amp;amp;px=400" role="button" title="H2.png" alt="H2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:19:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175076#M41189</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2023-08-16T15:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175119#M41190</link>
      <description>&lt;P&gt;Hey hey thanks for the reply, I absolutely understand your point and is the same as per&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/244938"&gt;@ToanDN&lt;/a&gt;&amp;nbsp;answer. Do not get me wrong, I appreciate that there is a work around but is not efficient. It is taking additional info that is not actually needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway thanks for the answer&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:33:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175119#M41190</guid>
      <dc:creator>giovanni.bonavia.pela</dc:creator>
      <dc:date>2023-08-16T15:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175148#M41191</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12386225"&gt;@giovanni.bonavia.pela&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hey hey thanks for the reply, I absolutely understand your point and is the same as per&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/244938"&gt;@ToanDN&lt;/a&gt;&amp;nbsp;answer. Do not get me wrong, I appreciate that there is a work around but is not efficient. It is taking additional info that is not actually needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway thanks for the answer&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What "additional information"?&amp;nbsp; I don't understand. You're asking Revit to decide between 2 values based on another parameter's value. That's 3 Parameters.&amp;nbsp; That's all I'm using in above screenshot.&amp;nbsp; You can ignore the "Default Elevation".&amp;nbsp;&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="H3.png" style="width: 300px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1254007i205E82F9C9122A83/image-size/small?v=v2&amp;amp;px=200" role="button" title="H3.png" alt="H3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:45:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175148#M41191</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2023-08-16T15:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175157#M41192</link>
      <description>&lt;P&gt;...maybe there's a better way to build the family.&amp;nbsp; Post it here and we'll take a look and see.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:50:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175157#M41192</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2023-08-16T15:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175240#M41193</link>
      <description>&lt;P&gt;for me the limit of how Revit is asking me to set up the parameters is that the IF statement does not allow for an option to let the input open.&lt;BR /&gt;Parameter 01 = IF(Rectangle, 0, "Parameter 02")&lt;/P&gt;&lt;P&gt;This implies the fact that I need to create another parameter (Parameter 02) just to be able to input a value that I could already place in Parameter 01.&lt;/P&gt;&lt;P&gt;If there was an option like:&lt;/P&gt;&lt;P&gt;Parameter 01 = IF(Rectangle,0,INPUT) where INPUT is just the parameter value that can be typed in.&lt;/P&gt;&lt;P&gt;I hope this makes sense.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 16:19:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175240#M41193</guid>
      <dc:creator>giovanni.bonavia.pela</dc:creator>
      <dc:date>2023-08-16T16:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175264#M41194</link>
      <description>&lt;P&gt;Yes, I get what you are after. That's why I suggested that there might be a better way to build the family.&amp;nbsp; Don't know for sure without seeing it though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 16:22:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175264#M41194</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2023-08-16T16:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175297#M41195</link>
      <description>&lt;P&gt;You cannot mix text value with length value. It has to be all text or all length. There is no in between.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 16:35:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175297#M41195</guid>
      <dc:creator>syman2000</dc:creator>
      <dc:date>2023-08-16T16:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175304#M41196</link>
      <description>&lt;P&gt;I know this, my point here is just a matter of creating a conversation at this point. I think that Revit could include more flexibility in the parametric language to be able to make less drawing and parameters, just with a little more language in it.&lt;BR /&gt;I will share the family to show you what I was doing. Really basic family and in a way "stupid" but it highlights some limitation to the parameters language. That is all.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 16:39:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175304#M41196</guid>
      <dc:creator>giovanni.bonavia.pela</dc:creator>
      <dc:date>2023-08-16T16:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175385#M41197</link>
      <description>&lt;P&gt;This is where the idea forum was created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/allow-text-in-formulas/idi-p/6322082" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/allow-text-in-formulas/idi-p/6322082&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 17:10:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175385#M41197</guid>
      <dc:creator>syman2000</dc:creator>
      <dc:date>2023-08-16T17:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175403#M41198</link>
      <description>&lt;P&gt;HA! Maybe I'm not following you. I thought "H2" was a Length Parameter, and you were trying to get "H2" to accept a user input LENGTH value if "Rectangle" was unchecked.&amp;nbsp; In other words, only have 2 parameters - not 3 parameters.&amp;nbsp; &amp;nbsp;If that's right, I love to know where you can do this in another database.&amp;nbsp; I can't think of one.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 17:17:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12175403#M41198</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2023-08-16T17:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12176036#M41199</link>
      <description>&lt;P&gt;I'm not sure what the sort of workflow would even be to have an undetermined boolean result. Do you want a UI that requests the correct value upon toggle? How does the family get reconciled if the parameter input doesn't match the storage type?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's inconvenient to have parameters that are only used conditionally fill up your Properties palette, but that's essentially what happens any time you have geometry that is visibility-controlled anyway, so I don't see how this is a unique inconvenience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see a difference at the user level to define a string that represents a unitized value versus defining a unitized parameter and having that parameter exist in a conditional statement. Parameter grouping does a pretty good job of conveying usage intent.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 21:39:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12176036#M41199</guid>
      <dc:creator>RLY_15</dc:creator>
      <dc:date>2023-08-16T21:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12176869#M41200</link>
      <description>You understood correctly what I meant.&lt;BR /&gt;I am not sure if there is another software that allows you this, but this does not mean it cannot be done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 17 Aug 2023 08:09:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12176869#M41200</guid>
      <dc:creator>giovanni.bonavia.pela</dc:creator>
      <dc:date>2023-08-17T08:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement, in yes/no parameter, and value input</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12176886#M41201</link>
      <description>&lt;P&gt;Here is the family, really really basic. And of course I can create a third parameter to be able to have the value if not rectangle. Of course I could also have an additional element that hides out if Rectangle is ticked. But here is just me trying to make 1 object the most flexi as possible.&lt;BR /&gt;&lt;BR /&gt;Thanks all for the useful debate and the helpful replies &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 08:16:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-statement-in-yes-no-parameter-and-value-input/m-p/12176886#M41201</guid>
      <dc:creator>giovanni.bonavia.pela</dc:creator>
      <dc:date>2023-08-17T08:16:14Z</dc:date>
    </item>
  </channel>
</rss>

