<?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: I need help in using if statement in Revit Architecture Forum</title>
    <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6519227#M301855</link>
    <description>&lt;P&gt;Revit doesn't work like that - you can model things where you want, add rooms etc, produce area plans and Revit will report all that data for you in the form of a schedule.&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/3652103"&gt;@JasonLLINDNER﻿&lt;/a&gt;&amp;nbsp;has said you can add a calculated value into a schedule to tell you if one area is bigger than another but that's about it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Out of curiosity and for some clarity, what floor areas are you talking about - rooms, nett, gross?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2016 08:00:22 GMT</pubDate>
    <dc:creator>Keith_Wilkinson</dc:creator>
    <dc:date>2016-08-24T08:00:22Z</dc:date>
    <item>
      <title>I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6518922#M301851</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm student doing master degree in BIM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just i want to know how to control the floors area. for example: I don't want the second floor area to be more than 50% of the first floor area.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could anybody help me with this.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 03:07:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6518922#M301851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-24T03:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6518954#M301852</link>
      <description>How do you want or what do you expect Revit to do if say the second floor area is 70% of the first?&lt;BR /&gt;&lt;BR /&gt;I hope you are not expecting Revit to Remodel the 2 floor on it's own because it won't&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2016 03:48:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6518954#M301852</guid>
      <dc:creator>JasonLLINDNER</dc:creator>
      <dc:date>2016-08-24T03:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6518960#M301853</link>
      <description>Hi Jason&lt;BR /&gt;&lt;BR /&gt;I mean putting restrictions for the designer not to exceed the maximum area which is 50% of the first floor area.</description>
      <pubDate>Wed, 24 Aug 2016 03:54:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6518960#M301853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-24T03:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6518966#M301854</link>
      <description>So an area schedule with a yes/no calculated value = if (Area2&amp;gt;0.5*Area1, 2&amp;gt;1, 2&amp;lt;1)&lt;BR /&gt;&lt;BR /&gt;To check a box and uncheck in a schedule or add conditional formatting to color the cells&lt;BR /&gt;&lt;BR /&gt;Is that what u mean</description>
      <pubDate>Wed, 24 Aug 2016 04:03:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6518966#M301854</guid>
      <dc:creator>JasonLLINDNER</dc:creator>
      <dc:date>2016-08-24T04:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6519227#M301855</link>
      <description>&lt;P&gt;Revit doesn't work like that - you can model things where you want, add rooms etc, produce area plans and Revit will report all that data for you in the form of a schedule.&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/3652103"&gt;@JasonLLINDNER﻿&lt;/a&gt;&amp;nbsp;has said you can add a calculated value into a schedule to tell you if one area is bigger than another but that's about it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Out of curiosity and for some clarity, what floor areas are you talking about - rooms, nett, gross?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 08:00:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6519227#M301855</guid>
      <dc:creator>Keith_Wilkinson</dc:creator>
      <dc:date>2016-08-24T08:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6519488#M301856</link>
      <description>I mean the total floor area includes all the rooms.&lt;BR /&gt;&lt;BR /&gt;What about revit dynamo? Can we do it with it?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2016 10:45:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6519488#M301856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-24T10:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6519561#M301857</link>
      <description>&lt;P&gt;Even though this is very unusual, there are ways to do it.&amp;nbsp;If you have Revit 2017, you could use the new global parameters to indicate the width and length of a floor. Then, for the floor of the second floor, you could specify that the length and width must be half of the length and width of the first floor, using formulas in parameters. That would do the job. Of course this gets difficult if the shape of the floor is not a simple shape.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have Revit 2016 or older, you would need to do this with a mass family, with parameters that establish that relation of 2nd floor being half of the 1st floor, then load the mass family into the project, and then create&amp;nbsp;mass floors from the mass, then create floors from the mass floors.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 11:14:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6519561#M301857</guid>
      <dc:creator>Alfredo_Medina</dc:creator>
      <dc:date>2016-08-24T11:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6519820#M301858</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@Anonymous﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You cannot place restrictions which will prevent the designer from modeling or designing a bigger floor area!!! The only Thing you can do is report it as suggested above, a scheduled&amp;nbsp;calc. value&amp;nbsp;or some sort of conditional formating...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use Dynamo to a certain extent (Such as generating a 3D&amp;nbsp;graphical/geometrical representation chart) but it is really nothing Close to&amp;nbsp;what you have in mind...it still won't prevent the designer from exceeding that floor area and/or modeling extra geometries...what sort of designer is this? you tell him Area shouldn't exceed X and he provides 2x X&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure what Alfredo is suggesting...but it is worth noting that&amp;nbsp;the Overall length and Width of a floor doesn't Warrant the desired % or Ratio ...well unless your layout is a square or a rectangle. Even then, how would one restrict the designer to those boundaries!!! Even with formulas, scripts and macros there is no way to restrict the designer from doing whatever and wherever!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;PS: you should have Global Param in 2016 past R2 UPD4&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 12:52:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6519820#M301858</guid>
      <dc:creator>RDAOU</dc:creator>
      <dc:date>2016-08-24T12:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6521414#M301859</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;I mean the total floor area includes all the rooms.&lt;BR /&gt;&lt;BR /&gt;What about revit dynamo? Can we do it with it?&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The most you can do is get a visual warning when the sum are of the second floor is more than 1/2 that of the first floor. &amp;nbsp;This can be done via a schedule (or two schedules side by side) that shows the sum area for each floor. &amp;nbsp;You can even create a calculated value to divide the sum area of the first floor area in half just in case some designer is really thick and incapable do a simple math. &amp;nbsp;Format the schedule with big text and instruction to clarify the intent and make it the startup view of your project. &amp;nbsp;Every time one opens the project the information is right on his face so that he cannot miss it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Speaking of Dynamo. &amp;nbsp;Theoretically if you use Area and Area plan to calculate floor area, you can harvest the area value of one floor and assign it to a shared parameter in the project. &amp;nbsp;Create a special Area tag for the second floor referencing this shared parameter along with the actual Area. &amp;nbsp;When you tag the second floor with this special tag, it will show the two values so that a designer can compare them and make adjustment to the design.&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;</description>
      <pubDate>Thu, 25 Aug 2016 00:38:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/6521414#M301859</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2016-08-25T00:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8715776#M301860</link>
      <description>&lt;P&gt;I was hoping that someone to assist me with a formula.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am unable to set a visibility parameter to a void which I would like to control its cutting properties from the project environment. So instead I have set a length parameter to it so that when the length is set to 0 it will cut the object and&amp;nbsp; when set to anything over 250 it misses the object (anything in-between and it half cuts the object).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works however, when I load the family into the project I would like the parameter to be a visibility parameter as setting a value to the length parameter is not intuitive at all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to there set up a formula that says IF the visibility paramater is "on" the length parameter should be 0 and if it is off it should be 250? I have no idea how I would format that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 19:40:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8715776#M301860</guid>
      <dc:creator>Seychellian</dc:creator>
      <dc:date>2019-04-08T19:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8715793#M301861</link>
      <description>Yes it can be done:&lt;BR /&gt;&lt;BR /&gt;- create a Yes/No parameter and name it Cut&lt;BR /&gt;- create a Length to control the length of the Void and name it Void Length. &lt;BR /&gt;- enter formula for Void length: if (Cut, 250, 1) - meaning if the Cut box is checked, the void will be 250 mm long, enough to and cut the host; if the Cut box is unchecked, the void is only 1 mm long, too short to cut anything (you cannot use 0 for void length).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Apr 2019 19:46:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8715793#M301861</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2019-04-08T19:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8715987#M301862</link>
      <description>Thanks for this. I will try it out when I am back in the office. Could you possibly just explain the logic of that formula.

What is Revit formulating when it reads (Cut, 250, 1)?</description>
      <pubDate>Mon, 08 Apr 2019 20:58:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8715987#M301862</guid>
      <dc:creator>Seychellian</dc:creator>
      <dc:date>2019-04-08T20:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8715994#M301863</link>
      <description>The syntax is:  if( Y/N parameter, value 1, value 2)
The meaning:  if the Y/N parameter is true then use value 1, if not then use value 2.

&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;</description>
      <pubDate>Mon, 08 Apr 2019 21:02:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8715994#M301863</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2019-04-08T21:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8716603#M301864</link>
      <description>&lt;P&gt;If you are looking to learn about Revit forumlas the best place to start, IMO, is here;&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;Enjoy.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 06:55:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8716603#M301864</guid>
      <dc:creator>Keith_Wilkinson</dc:creator>
      <dc:date>2019-04-09T06:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in using if statement</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8719783#M301865</link>
      <description>&lt;P&gt;Thanks it worked &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;I feel stupid&amp;nbsp; using Revit. So much of this stuff isn't intuitive to me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 08:41:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/i-need-help-in-using-if-statement/m-p/8719783#M301865</guid>
      <dc:creator>Seychellian</dc:creator>
      <dc:date>2019-04-10T08:41:18Z</dc:date>
    </item>
  </channel>
</rss>

