<?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: Flex / increment array spacing with given range? in Revit Architecture Forum</title>
    <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357008#M210321</link>
    <description>&lt;P&gt;No, that's not quite it, but thank you.&amp;nbsp;&amp;nbsp; Your original version successfully adds or subtracts blades, but what it doesn't do is then re-distribute the remaining blades so that they exactly fill the overall height of the panel.&amp;nbsp; Your second version re-distributes them but doesn't add extra blades when the spacing gets too large.&amp;nbsp; I'll try to walk through the math in an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say we have a louver panel 48" high (LH).&amp;nbsp; Maximum blade spacing (BS) is 3".&amp;nbsp; Having Revit do the array math, it's easy to make the array have 16 blades. (BC = LH / BS or 16 = 48 / 3).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if the lover panel flexes to be 50" high, with 16 blades at 3" spacing we are 2" too short overall.&amp;nbsp; And if it increments to 17 blades at 3" spacing, we are 1" too tall.&amp;nbsp; The array needs to increment to 17 blades so the BS values doesn't go out of range &lt;EM&gt;and then&lt;/EM&gt; recalculate the BS parameter so that the overall panel height is the required 50".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same thing has to happen in reverse when the louver panel shrinks.&amp;nbsp; If there is a minimum BS value of 2", once the blade count math results in BS of less than 2", it needs to delete a blade.&amp;nbsp; But deleting the blade will make it not exactly the right height, so it needs an adjustment factor to re-equalize the blade spacing to match the exact overall height of the panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe that's the way to do it - add another parameter to calculate that adjustment factor based on the difference between the incremental height and the target height, then apply it.&amp;nbsp; I bet that would work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a new family.&amp;nbsp; It still doesn't do what I want, but the parameter names match my description.&amp;nbsp; Thanks for your help!&lt;/P&gt;</description>
    <pubDate>Wed, 24 Oct 2018 19:12:04 GMT</pubDate>
    <dc:creator>Duke_W</dc:creator>
    <dc:date>2018-10-24T19:12:04Z</dc:date>
    <item>
      <title>Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8356531#M210316</link>
      <description>&lt;P&gt;Hi, all.&amp;nbsp; I've tried searching but it's a complex issue so maybe I'm not describing it well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create / edit a flexible parametric family with an array of objects within it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is to have the array adjust the spacing via calculation / formula for a user-input overall length... but only within an acceptable range for the spacing dimension.&amp;nbsp; If the calculated spacing goes above or below the acceptable range, I want the array to add to or subtract from the element count until the calculated spacing IS back in range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically,&amp;nbsp; I'm making a louver panel for curtainwall infill.&amp;nbsp; I'm OK with a fixed louver blade height / depth / angle, and I have that family nested into the panel family.&amp;nbsp; Let's say that the overall blade height is 4".&amp;nbsp; I need some overlap but not too much, so let's say that the acceptable blade spacing (BS) is 2" &amp;lt; BS &amp;lt; 3".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to create an array where the bottom of the bottom blade is aligned to one edge and the top of the top blade is aligned to the opposite edge.&amp;nbsp; That means the spacing parameter has to flex in order to make the overall height of the array hit the target, which is easy enough to have Revit calculate for a given blade count (BC).&amp;nbsp; Where my trouble lies is getting Revit to flex both the BC parameter &lt;EM&gt;and&lt;/EM&gt; the BS parameter so that I always wind up with an integer BC, the BS parameter stays within the 2" to 3" acceptable range, and the top and bottom blades align to their respective edges.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody please point me in the right direction?&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:07:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8356531#M210316</guid>
      <dc:creator>Duke_W</dc:creator>
      <dc:date>2018-10-24T16:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8356553#M210317</link>
      <description>&lt;P&gt;Can you post what you have so far?&amp;nbsp; &amp;nbsp;The rfa.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:14:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8356553#M210317</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2018-10-24T16:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8356604#M210318</link>
      <description>&lt;P&gt;Thanks for the response.&amp;nbsp; Here's my current family.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:26:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8356604#M210318</guid>
      <dc:creator>Duke_W</dc:creator>
      <dc:date>2018-10-24T16:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8356646#M210319</link>
      <description>&lt;P&gt;are you taking about something like this?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:44:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8356646#M210319</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2018-10-24T16:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8356787#M210320</link>
      <description>&lt;P&gt;...maybe I mis-read you. Maybe you&amp;nbsp; want to Array to "Last" - not "2nd" (e.g. NOT "Append to End").&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 17:30:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8356787#M210320</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2018-10-24T17:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357008#M210321</link>
      <description>&lt;P&gt;No, that's not quite it, but thank you.&amp;nbsp;&amp;nbsp; Your original version successfully adds or subtracts blades, but what it doesn't do is then re-distribute the remaining blades so that they exactly fill the overall height of the panel.&amp;nbsp; Your second version re-distributes them but doesn't add extra blades when the spacing gets too large.&amp;nbsp; I'll try to walk through the math in an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say we have a louver panel 48" high (LH).&amp;nbsp; Maximum blade spacing (BS) is 3".&amp;nbsp; Having Revit do the array math, it's easy to make the array have 16 blades. (BC = LH / BS or 16 = 48 / 3).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if the lover panel flexes to be 50" high, with 16 blades at 3" spacing we are 2" too short overall.&amp;nbsp; And if it increments to 17 blades at 3" spacing, we are 1" too tall.&amp;nbsp; The array needs to increment to 17 blades so the BS values doesn't go out of range &lt;EM&gt;and then&lt;/EM&gt; recalculate the BS parameter so that the overall panel height is the required 50".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same thing has to happen in reverse when the louver panel shrinks.&amp;nbsp; If there is a minimum BS value of 2", once the blade count math results in BS of less than 2", it needs to delete a blade.&amp;nbsp; But deleting the blade will make it not exactly the right height, so it needs an adjustment factor to re-equalize the blade spacing to match the exact overall height of the panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe that's the way to do it - add another parameter to calculate that adjustment factor based on the difference between the incremental height and the target height, then apply it.&amp;nbsp; I bet that would work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a new family.&amp;nbsp; It still doesn't do what I want, but the parameter names match my description.&amp;nbsp; Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 19:12:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357008#M210321</guid>
      <dc:creator>Duke_W</dc:creator>
      <dc:date>2018-10-24T19:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357022#M210322</link>
      <description>Shouldn't the blade spacing a fixed value and you distribute the odd space to the first and last distances?  For example: a 13" height would be 2-3-3-3-2,  a 14: height would be 2.5-3-3-3-2.5</description>
      <pubDate>Wed, 24 Oct 2018 19:16:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357022#M210322</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2018-10-24T19:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357139#M210323</link>
      <description>&lt;P&gt;you mean something like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...revised rfa attached&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 20:01:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357139#M210323</guid>
      <dc:creator>barthbradley</dc:creator>
      <dc:date>2018-10-24T20:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357386#M210324</link>
      <description>&lt;P&gt;I&amp;nbsp;abandoned&amp;nbsp;array's for louvers (especially in CW) a long time ago in favor of &lt;A title="Curtain Wall as Louver" href="https://revitoped.blogspot.com/2009/09/curtain-wall-louvers-or-how-to-avoid.html" target="_blank"&gt;&lt;EM&gt;this technique&lt;/EM&gt;&lt;/A&gt;. By all means, if you want to pursue mastering arrays in families go for it, in this instance I choose to do other things. Good luck!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 21:40:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357386#M210324</guid>
      <dc:creator>SteveKStafford</dc:creator>
      <dc:date>2018-10-24T21:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357411#M210325</link>
      <description>&lt;P&gt;I would use that technique (or very similar) as well. The best thing is that they can be of any shapes (edit profile), unlike Arrays.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-architecture-forum/gable-end-vent-family/m-p/7255905#M157130" target="_blank"&gt;https://forums.autodesk.com/t5/revit-architecture-forum/gable-end-vent-family/m-p/7255905#M157130&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 21:57:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8357411#M210325</guid>
      <dc:creator>ToanDN</dc:creator>
      <dc:date>2018-10-24T21:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Flex / increment array spacing with given range?</title>
      <link>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8360526#M210326</link>
      <description>&lt;P&gt;Two observations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The spacing also depends on the height of the (first) blade.&lt;/LI&gt;&lt;LI&gt;For a certain (given) height, there are multiple solutions in your acceptable blade spacing range.&amp;nbsp; So you'd have to choose if you want minimum or maximum number of blades, or somewhere in between.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here's&amp;nbsp;my solution.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 22:12:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-architecture-forum/flex-increment-array-spacing-with-given-range/m-p/8360526#M210326</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2018-10-25T22:12:02Z</dc:date>
    </item>
  </channel>
</rss>

