<?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: Line Based Array w/ formula in Revit Structure Forum</title>
    <link>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6862909#M39836</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3605019"&gt;@irisolvohrc&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1014093"&gt;@L.Maas&lt;/a&gt;, You are right about the rounding in revit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Irisolvohrc, You could solve this problem by using the round function within revit formulas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ROUND(x)&lt;/STRONG&gt;&lt;BR /&gt;The &lt;STRONG&gt;round&lt;/STRONG&gt; function returns a number rounded nearest to a whole number. It doesn’t take into consideration rounding direction (round up or down). If the number is (for example) from 24.5 to 24.9, the function rounds it to 25. If it is from 23.1 to 23.4, the function rounds it to 23.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The syntax for the &lt;STRONG&gt;round&lt;/STRONG&gt; function is: round( number)&lt;BR /&gt;number is the number to round.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;ROUNDDOWN(x)&lt;/STRONG&gt;&lt;BR /&gt;“x” is a unitless value that should return the smallest integral value less than or equal to x.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The syntax for the &lt;STRONG&gt;rounddown&lt;/STRONG&gt; function is: &lt;STRONG&gt;rounddown&lt;/STRONG&gt; (number)&lt;BR /&gt;number is the number to round down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ROUNDUP(x) &lt;/STRONG&gt;&lt;BR /&gt;“x” is a unitless value that should return the largest integral value greater than or equal to x.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The syntax for the &lt;STRONG&gt;roundup&lt;/STRONG&gt; function is: &lt;STRONG&gt;roundup&lt;/STRONG&gt; (number)&lt;BR /&gt;number is the number to round up.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note that when numbers such as 23.5 are rounded, they can result in either 23 or 24. To produce a stable result, for all the .5 cases, we round to the larger integer. That means that 23.5 is rounded to 24, while -23.5 to -23.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Credits go to Revit Formulas for "Everyday Use" website &lt;A href="https://www.revitforum.org/tutorials-tips-tricks/1046-revit-formulas-everyday-usage.html" target="_blank"&gt;revit-formulas-everyday-usage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use this website a lot when I have to handle formulas in Revit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="blue"&gt;If my post answers your question, &lt;STRONG&gt;please click the "Accept as Solution" button.&lt;/STRONG&gt; This helps everyone find answers more quickly!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 14:46:33 GMT</pubDate>
    <dc:creator>N.Oomen</dc:creator>
    <dc:date>2017-02-08T14:46:33Z</dc:date>
    <item>
      <title>Line Based Array w/ formula</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6860998#M39834</link>
      <description>&lt;P&gt;I am trying to create an anchor bolt array that has fixed end and then spaced evenly with a given max spacing number by type and&amp;nbsp;the length that varies.&amp;nbsp; The problems I am having are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) the Max Number sometimes goes over&lt;/P&gt;&lt;P&gt;2) the dimension I physically dimension is different that the one on the properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see attached highlighted numbers.&amp;nbsp; What's wrong with the formula?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 20:58:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6860998#M39834</guid>
      <dc:creator>irisolvohrc</dc:creator>
      <dc:date>2017-02-07T20:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Line Based Array w/ formula</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6861903#M39835</link>
      <description>&lt;P&gt;The issue is rounding. The length can be different and the amount of rods is always integer. So when you start to divide the length by the max rod spacing you will end up with a non-integer number of rods. Revit will round it off. So sometimes the rod spacing will be above 'max rod spacing' or the amount of rods will increase&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 07:47:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6861903#M39835</guid>
      <dc:creator>L.Maas</dc:creator>
      <dc:date>2017-02-08T07:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Line Based Array w/ formula</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6862909#M39836</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3605019"&gt;@irisolvohrc&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1014093"&gt;@L.Maas&lt;/a&gt;, You are right about the rounding in revit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Irisolvohrc, You could solve this problem by using the round function within revit formulas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ROUND(x)&lt;/STRONG&gt;&lt;BR /&gt;The &lt;STRONG&gt;round&lt;/STRONG&gt; function returns a number rounded nearest to a whole number. It doesn’t take into consideration rounding direction (round up or down). If the number is (for example) from 24.5 to 24.9, the function rounds it to 25. If it is from 23.1 to 23.4, the function rounds it to 23.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The syntax for the &lt;STRONG&gt;round&lt;/STRONG&gt; function is: round( number)&lt;BR /&gt;number is the number to round.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;ROUNDDOWN(x)&lt;/STRONG&gt;&lt;BR /&gt;“x” is a unitless value that should return the smallest integral value less than or equal to x.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The syntax for the &lt;STRONG&gt;rounddown&lt;/STRONG&gt; function is: &lt;STRONG&gt;rounddown&lt;/STRONG&gt; (number)&lt;BR /&gt;number is the number to round down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ROUNDUP(x) &lt;/STRONG&gt;&lt;BR /&gt;“x” is a unitless value that should return the largest integral value greater than or equal to x.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The syntax for the &lt;STRONG&gt;roundup&lt;/STRONG&gt; function is: &lt;STRONG&gt;roundup&lt;/STRONG&gt; (number)&lt;BR /&gt;number is the number to round up.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note that when numbers such as 23.5 are rounded, they can result in either 23 or 24. To produce a stable result, for all the .5 cases, we round to the larger integer. That means that 23.5 is rounded to 24, while -23.5 to -23.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Credits go to Revit Formulas for "Everyday Use" website &lt;A href="https://www.revitforum.org/tutorials-tips-tricks/1046-revit-formulas-everyday-usage.html" target="_blank"&gt;revit-formulas-everyday-usage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use this website a lot when I have to handle formulas in Revit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="blue"&gt;If my post answers your question, &lt;STRONG&gt;please click the "Accept as Solution" button.&lt;/STRONG&gt; This helps everyone find answers more quickly!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 14:46:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6862909#M39836</guid>
      <dc:creator>N.Oomen</dc:creator>
      <dc:date>2017-02-08T14:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Line Based Array w/ formula</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6863207#M39837</link>
      <description>&lt;P&gt;Thank you both, but it didn't work.&amp;nbsp; Please check the attachments to make sure&amp;nbsp; I put the roundup in the right place.&amp;nbsp;I have tried putting it on the "# of Rods" field and it didn't work either.&lt;/P&gt;&lt;P&gt;Also, do you think by fixing the spacing issue is going to fix the dimensioning issue as well? (notice the 4'2" in the value and the 5' in the string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 16:25:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6863207#M39837</guid>
      <dc:creator>irisolvohrc</dc:creator>
      <dc:date>2017-02-08T16:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Line Based Array w/ formula</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6863796#M39838</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3605019"&gt;@irisolvohrc&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See if this will work for you, is a bit of workaround I think, but it does work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically what you need is an if statement when the calculated spacing is bigger then your condition it needs to add a rod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="blue"&gt;If my post answers your question, &lt;STRONG&gt;please click the "Accept as Solution" button.&lt;/STRONG&gt; This helps everyone find answers more quickly!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 19:08:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6863796#M39838</guid>
      <dc:creator>N.Oomen</dc:creator>
      <dc:date>2017-02-08T19:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Line Based Array w/ formula</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6867520#M39839</link>
      <description>&lt;P&gt;Hi, it's still not working right.&amp;nbsp; it looks like it's calculating the right numbers but it's not reflecting it in the model.&amp;nbsp; I think the problem lies on how I am connecting the end of the array to the "Dim from edge", I am not sure I am doing it right.&amp;nbsp; When I click on the array it looks like it's going to the right place, but not sure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 22:38:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6867520#M39839</guid>
      <dc:creator>irisolvohrc</dc:creator>
      <dc:date>2017-02-09T22:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Line Based Array w/ formula</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6868183#M39840</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3605019"&gt;@irisolvohrc&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Found the problem. When you divide a certain length by a spacing it should be rounded up and also need a start rod, so plus 1 at the start.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;added the new family that works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="blue"&gt;If my post answers your question, &lt;STRONG&gt;please click the "Accept as Solution" button.&lt;/STRONG&gt; This helps everyone find answers more quickly!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 08:07:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6868183#M39840</guid>
      <dc:creator>N.Oomen</dc:creator>
      <dc:date>2017-02-10T08:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Line Based Array w/ formula</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6869422#M39841</link>
      <description>&lt;P&gt;Woo Hoo!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That worked...thank you so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to live with the fact that the number on the schedule is different than the linear dimension in the model.&amp;nbsp; What it's doing, on the schedule/family types, is dividing the interior length by the number of rods not taking into consideration that the first and last are at different dimensions.&lt;/P&gt;&lt;P&gt;But as long as linear dimension is correct, I guess that's all I care about.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you, thank you, thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone wants this family, let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 16:35:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/line-based-array-w-formula/m-p/6869422#M39841</guid>
      <dc:creator>irisolvohrc</dc:creator>
      <dc:date>2017-02-10T16:35:25Z</dc:date>
    </item>
  </channel>
</rss>

