<?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: Parameter Formula Conditional Statements in Revit Architecture Forum</title>
    <link>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8262660#M216927</link>
    <description>&lt;P&gt;Got it. I had it backwards. It works now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing I noticed is that the hot-grip disappeared. Any idea of hot to get it back?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 11:57:05 GMT</pubDate>
    <dc:creator>jacques</dc:creator>
    <dc:date>2018-09-12T11:57:05Z</dc:date>
    <item>
      <title>Parameter Formula Conditional Statements</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8252569#M216921</link>
      <description>&lt;P&gt;Hello , you all:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to add a parameter for a component that at present time can be&amp;nbsp;extended&amp;nbsp;to infinity.&amp;nbsp; This is controlled by an instance parameter called "A". &amp;nbsp;I want to limit this to 3950mm. So, a conditional statement seems like the logical thing. So, I started from this page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2014/ENU/Revit/files/GUID-A0FA7A2C-9C1D-40F3-A808-73CD0A4A3F20-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2014/ENU/Revit/files/GUID-A0FA7A2C-9C1D-40F3-A808-73CD0A4A3F20-htm.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, that didn't help. If I try a simple IF ( A &amp;gt; 3950mm, 3950mm), it tells me that it is a bad IF statement format. I tried setting a lower limit such as IF ( A &amp;gt; 3950mm, 3950mm , IF ( A &amp;lt; 100mm, 100mm))), I then get unexpected left parenthesis, or a string of errors if I remove I move things around. I suspect that the answer is there or there about. But it is in the right sequence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 12:23:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8252569#M216921</guid>
      <dc:creator>jacques</dc:creator>
      <dc:date>2018-09-07T12:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Formula Conditional Statements</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8253000#M216922</link>
      <description>&lt;P&gt;The if parametermeter works with a true and false like:&lt;/P&gt;
&lt;P&gt;=if(A&amp;gt;1000, 1000, 500)&lt;/P&gt;
&lt;P&gt;so....if(testcondition, value if testconditon true, value if testconditon false)&lt;/P&gt;
&lt;P&gt;and when you start nesting if statements yooul need a true and flase reulst for all the if statements like:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if(A&amp;gt;1000, 1000, if(B&amp;gt;1000,1000, 500))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 14:32:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8253000#M216922</guid>
      <dc:creator>L.Maas</dc:creator>
      <dc:date>2018-09-07T14:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Formula Conditional Statements</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8253125#M216923</link>
      <description>&lt;P&gt;this link may be helpful:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.revitforum.org/tutorials-tips-tricks/1046-revit-formulas-everyday-usage.html" target="_blank"&gt;https://www.revitforum.org/tutorials-tips-tricks/1046-revit-formulas-everyday-usage.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 15:10:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8253125#M216923</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2018-09-07T15:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Formula Conditional Statements</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8253931#M216924</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2501149"&gt;@jacques&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello , you all:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to add a parameter for a component that at present time can be&amp;nbsp;extended&amp;nbsp;to infinity.&amp;nbsp; This is controlled by an instance parameter called "A". &amp;nbsp;I want to limit this to 3950mm. So, a conditional statement seems like the logical thing. So, I started from this page:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2014/ENU/Revit/files/GUID-A0FA7A2C-9C1D-40F3-A808-73CD0A4A3F20-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2014/ENU/Revit/files/GUID-A0FA7A2C-9C1D-40F3-A808-73CD0A4A3F20-htm.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, that didn't help. If I try a simple IF ( A &amp;gt; 3950mm, 3950mm), it tells me that it is a bad IF statement format. I tried setting a lower limit such as IF ( A &amp;gt; 3950mm, 3950mm , IF ( A &amp;lt; 100mm, 100mm))), I then get unexpected left parenthesis, or a string of errors if I remove I move things around. I suspect that the answer is there or there about. But it is in the right sequence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For your specific example, you need&amp;nbsp;another parameter to enter the value, lets' call it A_input&lt;/P&gt;
&lt;P&gt;The formula for A:&amp;nbsp; if (A_input &amp;gt; 3950, 3950, A_input)&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="Capture.PNG" style="width: 667px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/543835i389BBD893177DA75/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 20:36:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8253931#M216924</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2018-09-07T20:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Formula Conditional Statements</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8259171#M216925</link>
      <description>&lt;P&gt;Hej Toad:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for that. I have done exactly what you typed. And now I get no errors. However, it won't limit the length. Should I add the conditional on another parameter?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 07:06:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8259171#M216925</guid>
      <dc:creator>jacques</dc:creator>
      <dc:date>2018-09-11T07:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Formula Conditional Statements</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8260127#M216926</link>
      <description>Yes.  The input parameter is to enter teh value.  The parameter with the formula is to assigned to a dimension label.</description>
      <pubDate>Tue, 11 Sep 2018 13:36:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8260127#M216926</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2018-09-11T13:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Formula Conditional Statements</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8262660#M216927</link>
      <description>&lt;P&gt;Got it. I had it backwards. It works now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing I noticed is that the hot-grip disappeared. Any idea of hot to get it back?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:57:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8262660#M216927</guid>
      <dc:creator>jacques</dc:creator>
      <dc:date>2018-09-12T11:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Formula Conditional Statements</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8368919#M216928</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2501149"&gt;@jacques&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Got it. I had it backwards. It works now.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing I noticed is that the hot-grip disappeared. Any idea of hot to get it back?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add another Reference Plane (make it a weak reference) to one side of model and place a dimension from the Reference Plane at the far side of your model to the new Reference Plane, and then label that dimension with the A_input parameter.&amp;nbsp; That will restore a grip.&amp;nbsp; If A_Inupt is less than or equal to the maximum allowed value, the new Reference Plane and the grip will be at the location of the object end.&amp;nbsp; If A_input exceeds the maximum, the grip will be located beyond the end of the actual object, as the object will be limited to the maximum value.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 15:47:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/parameter-formula-conditional-statements/m-p/8368919#M216928</guid>
      <dc:creator>David_W_Koch</dc:creator>
      <dc:date>2018-10-30T15:47:58Z</dc:date>
    </item>
  </channel>
</rss>

