<?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: How to use Length parameter in a formula? in Revit Architecture Forum</title>
    <link>https://forums.autodesk.com/t5/revit-architecture-forum/how-to-use-length-parameter-in-a-formula/m-p/8227194#M218531</link>
    <description>&lt;P&gt;Why not a Calculated Parameter&amp;nbsp;directly placed in the Schedule.&amp;nbsp; "Length-12".&amp;nbsp;Or, it could be an IF Statement&amp;nbsp;that evaluates a particular wall parameter, and returns "Length-12" or "Length".&amp;nbsp; (e.g. "if(Mark=ABC, Length-12, Length)").&amp;nbsp; You could even assign an On/Off Project Parameter to all the Walls, and check the Wall that should be evaluated in an IF Statement Calculated Parameter.&amp;nbsp;&lt;SPAN&gt;(e.g. "if([wall is checked]&lt;/SPAN&gt;&lt;SPAN&gt;, Length-12,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;L&lt;/SPAN&gt;&lt;SPAN&gt;ength)").&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Aug 2018 15:20:10 GMT</pubDate>
    <dc:creator>barthbradley</dc:creator>
    <dc:date>2018-08-27T15:20:10Z</dc:date>
    <item>
      <title>How to use Length parameter in a formula?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/how-to-use-length-parameter-in-a-formula/m-p/8226834#M218530</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I have a simple but tricky problem here.&lt;/P&gt;&lt;P&gt;My curtain mullion has a length of 2730, but I want to report it in schedule as 2709, since I need to have different values for other mullions I (maybe) cannot use formulas in schedule (because it would affect also other cells).&lt;/P&gt;&lt;P&gt;Therefore I thought I could create a formula in the Curtain mullion parameter that uses "Length", but it seems is not possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggestions? Maybe use Global parameter (tried but same result)?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/539398iE9001D5232228B27/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&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-center" image-alt="error" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/539399i2FB7CBC647AF9A6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;error&lt;/span&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;</description>
      <pubDate>Mon, 27 Aug 2018 12:55:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/how-to-use-length-parameter-in-a-formula/m-p/8226834#M218530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-27T12:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Length parameter in a formula?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/how-to-use-length-parameter-in-a-formula/m-p/8227194#M218531</link>
      <description>&lt;P&gt;Why not a Calculated Parameter&amp;nbsp;directly placed in the Schedule.&amp;nbsp; "Length-12".&amp;nbsp;Or, it could be an IF Statement&amp;nbsp;that evaluates a particular wall parameter, and returns "Length-12" or "Length".&amp;nbsp; (e.g. "if(Mark=ABC, Length-12, Length)").&amp;nbsp; You could even assign an On/Off Project Parameter to all the Walls, and check the Wall that should be evaluated in an IF Statement Calculated Parameter.&amp;nbsp;&lt;SPAN&gt;(e.g. "if([wall is checked]&lt;/SPAN&gt;&lt;SPAN&gt;, Length-12,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;L&lt;/SPAN&gt;&lt;SPAN&gt;ength)").&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 15:20:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/how-to-use-length-parameter-in-a-formula/m-p/8227194#M218531</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2018-08-27T15:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Length parameter in a formula?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/how-to-use-length-parameter-in-a-formula/m-p/8228976#M218532</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/435052"&gt;@barthbradley&lt;/a&gt;, thanks for replying.&lt;/P&gt;&lt;P&gt;The point is that I need to assign different values to the mullions on the same column, but when I use Calculated Parameter (f.e. Length-21) it performs the same formula to alle the cells in the column.&lt;/P&gt;&lt;P&gt;To be specific:&lt;/P&gt;&lt;P&gt;sometimes I need "Length - 21"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sometimes I need "Length - 12"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and so on..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thats why I tried to place the formula in the framily itself, but did not achieve the result.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.PNG" style="width: 572px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/539770i3FDC3D770F088930/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I managed to obtain the result with a workaround placing a new parameter in the family the is dependent to the type, then Caltulating Parameter in the schedule using those two different parameters, but its a bit dirty solution to me.&lt;/P&gt;&lt;P&gt;Wondering if there is a cleaner way.&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>Tue, 28 Aug 2018 07:10:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/how-to-use-length-parameter-in-a-formula/m-p/8228976#M218532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-28T07:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Length parameter in a formula?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/how-to-use-length-parameter-in-a-formula/m-p/8229113#M218533</link>
      <description>What he suggested is the right way to do it.  You need to create another parameter to drive the criteria for the formula.  If a mullion has this parameter = a then the reported length = true length - x, and so on.</description>
      <pubDate>Tue, 28 Aug 2018 08:24:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/how-to-use-length-parameter-in-a-formula/m-p/8229113#M218533</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2018-08-28T08:24:45Z</dc:date>
    </item>
  </channel>
</rss>

