<?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/Then Formula in Revit Architecture Forum</title>
    <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852153#M287576</link>
    <description>&lt;P&gt;Yes you need to tie them up to reference planes and not on the elements. you might want to add an instance length parameter to one of ref plane to enable the drag points when you load them to the project.&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="1.JPG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/318859i45C8484BD969F45A/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2017 14:41:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-03T14:41:21Z</dc:date>
    <item>
      <title>If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6851976#M287571</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create an if/then formula in my family types. I do not have experience in doing this and researched quite a bit but still having no luck. I'm trying to create a formula:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;when Point&amp;nbsp;"A" moves, than Object "B" automatic moves with it. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created visibility instance parameters with each.&amp;nbsp;Point&lt;SPAN&gt;&amp;nbsp;"A" parameter is "L_Ref_Point" while&amp;nbsp;Object "B" parameter is "WWT_L". In my family types (see attached pic) how do i initially&amp;nbsp;set up these formulas. Like I've&amp;nbsp;said i have researched but do not know the exact text to add. Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:41:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6851976#M287571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-03T13:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852009#M287572</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I don't quite get what you are trying to figure out. But if you want to make a point dependent to another, you can just tie them up with a locked dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyways the formula for an IF statement is: &amp;nbsp;if(condition, true, false)&amp;nbsp;&lt;/P&gt;&lt;P&gt;each are seperated by a comma.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;&lt;/P&gt;&lt;P&gt;condition: Length&amp;gt;100mm&lt;/P&gt;&lt;P&gt;true: Width*2&lt;/P&gt;&lt;P&gt;falss: Width/2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;more info here&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-BA812528-8000-44A5-B53F-137B3F642107-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2014/ENU/Revit/files/GUID-BA812528-8000-44A5-B53F-137B3F642107-htm.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you could detail how would you like the parameter to function maybe we could help you more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Z&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:57:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852009#M287572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-03T13:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852012#M287573</link>
      <description>&lt;P&gt;HI&amp;nbsp;@Anonymous&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when you say A move along with B, it has nothing to do with visibility.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;To move means the object/geometry/element need to be constrained and the dimension set as parameter which u can change later&lt;/LI&gt;
&lt;LI&gt;for a second object to move alone and exactly the same with it in same direction doesn't require a formula. In such case the two elements are locked/constrained to each other or to same plane&lt;/LI&gt;
&lt;LI&gt;if they move in different direction but together you still do not need an if because the the parameter controlling the movement of A will be = to parameter B&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;you need the IF only when it is conditional...ie: element B will move with A ONLY IF A moves more than 10cm (example) THEN ... U enter the remainder of the condition... The format is as follows&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF( Condition, Action 1, Action 2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;condition: example A &amp;gt; 10cm&lt;/P&gt;
&lt;P&gt;Action 1: Revit executes this action if the condition is true example: Parameter A = Parameter B&lt;/P&gt;
&lt;P&gt;Action 2: Revit executes this if the contrition is false example: 0 &amp;nbsp;or any other value or nested formula&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Parameter B = If(Parameter_A &amp;gt; 100mm, Parameter_A, 0mm)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you attach the family maybe someone can help you or assist you with a screencast&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:58:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852012#M287573</guid>
      <dc:creator>RDAOU</dc:creator>
      <dc:date>2017-02-03T13:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852092#M287574</link>
      <description>&lt;P&gt;So if i just lock the dimension in the family, than when one point moves the other will automatically move with it? Its that simple?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:19:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852092#M287574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-03T14:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852114#M287575</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what you have described and from what I could understand or visualize (what u r trying to do) Yes it can be as simple as that&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I personally prefer to lock elements to reference planes and constrain with locked dimensions (not directly to elements)&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:27:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852114#M287575</guid>
      <dc:creator>RDAOU</dc:creator>
      <dc:date>2017-02-03T14:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852153#M287576</link>
      <description>&lt;P&gt;Yes you need to tie them up to reference planes and not on the elements. you might want to add an instance length parameter to one of ref plane to enable the drag points when you load them to the project.&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="1.JPG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/318859i45C8484BD969F45A/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:41:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6852153#M287576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-03T14:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857134#M287577</link>
      <description>&lt;P&gt;Please see attached picture. I am still trying to figure out how to make these ref. points, ref. lines and the arrows (created from Autocad) move in both directions, left to right.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 15:53:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857134#M287577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T15:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857275#M287578</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;That's Massing environment...things are hosted and constrained a little bit different than other families... to save us the guessing game, can you upload you file so someone can have a look and make a screencast for you to follow?&lt;/LI&gt;
&lt;LI&gt;Also define how you want them to move and where? Vertically? Horizontally? Or just float in space&lt;/LI&gt;
&lt;LI&gt;also please clarify what is that family as in what is it supposed to be!&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 06 Feb 2017 16:43:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857275#M287578</guid>
      <dc:creator>RDAOU</dc:creator>
      <dc:date>2017-02-06T16:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857329#M287579</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3448664"&gt;@RDAOU&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Please see attached file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I&amp;nbsp;would like the ability to move horizontally left and right following the plane.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. The family was created using the template "Generic Model Adaptive"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for you help!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 16:59:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857329#M287579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T16:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857667#M287580</link>
      <description>&lt;P&gt;Attached is the file I attempted to fix.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In all honesty, I don't understand why you need to use an adaptive family for this. &amp;nbsp;You don't even have any adaptive points in the family. &amp;nbsp;If you want to control the movement of elements via reference planes and parameters, there is no need for an adaptive family. &amp;nbsp;A regular family will work just fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe others can have different insights.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 18:58:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857667#M287580</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2017-02-06T18:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857711#M287581</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/244938"&gt;@ToanDN&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The model&amp;nbsp;you sent is exactly what i am looking for. Thank you for your help.Could you briefly tell me how you were able to create the L1 &amp;amp; L2=2'-0" parameter and link the arrows with it? I really i just need to know the steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This family&amp;nbsp;needs to be adaptive because it will be pushed through a work program into a wire frame coordinate system&amp;nbsp;project. It's for a complex curtain wall system. This family will multiply 2,000x and the reason for the arrows is to be able to pin point certain locations on the project.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 19:11:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857711#M287581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T19:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857778#M287582</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below are my steps:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create reference planes for left, right, and the two elevations&lt;/LI&gt;
&lt;LI&gt;Add dimensions and associate them with parameters&lt;/LI&gt;
&lt;LI&gt;Lock the each reference point to the proper reference planes&lt;/LI&gt;
&lt;LI&gt;Lock the center of each instance of the Red arrow family to the reference planes&lt;/LI&gt;
&lt;LI&gt;Open Family Type dialog, change the dimensions parameters, and watch if the family flexes properly&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 06 Feb 2017 19:32:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6857778#M287582</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2017-02-06T19:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6858165#M287583</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/244938"&gt;@ToanDN&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still do not understand the purpose of this family and what it is supposed to do...besides that the generic 2D model with symbol inside isn't somethin which I really dig or encourage. They wont break but when you start rotating and flipping a 2D element in 3D space it will look pretty much awkward... so imagine 2000 of these!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You know the sun dial? how its shadow shrinks and grows with respect to the angle of the sun? 2D element in 3D models are the same!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So good luck &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below&amp;nbsp;is just an example of how I would handle control of elements in an adaptive family...Again this is just an example there are other ways to do so depending on the purpose of the family and how it is supposed to function...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="iframe-container"&gt;&lt;IFRAME width="640" height="680" src="https://screencast.autodesk.com/Embed/Timeline/555fedd4-e55d-4567-9935-a1b54186dccd" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" style="display: inline;" webkitallowfullscreen="webkitallowfullscreen"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Feb 2017 21:18:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6858165#M287583</guid>
      <dc:creator>RDAOU</dc:creator>
      <dc:date>2017-02-06T21:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6860131#M287584</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3448664"&gt;@RDAOU&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your screen cast. Very helpful. I do have, hopefully one last question, at minute 8:09, i see that we are trying to insert my generic model symbol WWT_L &amp;amp; WWL_R. I am not able to select a placement (Place on Face/Place on work plane) for these symbols. If you see below, 809.png is a screenshot of your screen cast and Revit Pic 4.png is a screen shot of mine. The ribbons are different. I made sure to also change the work plane for this reference point and nothing is seeming to do the trick. I will also attach my model if you need more information. Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 15:40:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6860131#M287584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T15:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6860158#M287585</link>
      <description>&lt;P&gt;I actually just figured it out. IN that block family, i have to check Work Plane-Based in the properties! Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 15:45:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/6860158#M287585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T15:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/12407527#M287586</link>
      <description>&lt;P&gt;if(Check box, 1000 mm, **Retain typed value**)&lt;BR /&gt;Is there a way we can fix a certain dimension if condition meets but retain the typed value if it fails, or similarly vice versa. I know it can be done by creating a new parameter for the failure part but maybe we could do it directly (as in Excel)?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 08:00:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/12407527#M287586</guid>
      <dc:creator>Kazim_RazaR9R9H</dc:creator>
      <dc:date>2023-11-29T08:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: If/Then Formula</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/12407920#M287587</link>
      <description>&lt;P&gt;No, but you can simply make that value be equal to another value, if Check box is not true, such as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;if(Check box, 1000 mm, Another value)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 11:35:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/if-then-formula/m-p/12407920#M287587</guid>
      <dc:creator>Alfredo_Medina</dc:creator>
      <dc:date>2023-11-29T11:35:58Z</dc:date>
    </item>
  </channel>
</rss>

