<?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: Panel Sizes in Dynamic Blocks Forum</title>
    <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12778388#M2668</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7861881"&gt;@christopheroEYZPA&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I was just trying to see if there is a way to have that done as it is stretched/adjusted.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, that can be done. Two variants:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. You want an array of a length "L" whose item's distance &lt;U&gt;never exeeds&lt;/U&gt; a given value "D_max". &lt;BR /&gt;Formula for the number of items:&lt;BR /&gt;&lt;STRONG&gt;N=ceil(L/D_max) + 1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. You want an array of a length "L" whose item's distance is &lt;U&gt;always greater&lt;/U&gt; than a given "D_min".&lt;BR /&gt;Formula for the number of items:&lt;BR /&gt;&lt;STRONG&gt;N=ceil(L/D_min)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The formula for the distance between the items for both variants: &lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;Step=L/(N-1)&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Important attention: &lt;BR /&gt;To build such blocks, the "L" &lt;U&gt;must be a Constraint Parameter&lt;/U&gt; (created with the BCPARAMETER command. And so the block should not include Dynamic Parameters and Actions to drive the geometry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An example file is attached.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 16:48:01 GMT</pubDate>
    <dc:creator>j.palmeL29YX</dc:creator>
    <dc:date>2024-05-16T16:48:01Z</dc:date>
    <item>
      <title>Panel Sizes</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12772770#M2662</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I am trying to create a block that is dynamic in length and width.&amp;nbsp; Within that I need to show fastener locations at 16"o.c. max.&amp;nbsp; This dimension can vary depending on the panel size.&amp;nbsp; (example; 24" length requires 3 fastener locations. Whereas 40" length requires 4.&lt;/P&gt;&lt;P&gt;Is there a way this can be done?&lt;/P&gt;&lt;P&gt;Thank you in advance for your assistance.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1362118i3B5F6196DEB569A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 15:49:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12772770#M2662</guid>
      <dc:creator>christopheroEYZPA</dc:creator>
      <dc:date>2024-05-14T15:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Sizes</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12773163#M2663</link>
      <description>&lt;P&gt;You can probably use arrays. Post your block.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 18:50:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12773163#M2663</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2024-05-14T18:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Sizes</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12773176#M2664</link>
      <description>&lt;P&gt;Something very similar to this was posted a few days ago with a couple different solutions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/dynamic-blocks-forum/equal-point-spacing-in-dynamic-block/td-p/12761581" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/dynamic-blocks-forum/equal-point-spacing-in-dynamic-block/td-p/12761581&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 18:58:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12773176#M2664</guid>
      <dc:creator>MMcCall402</dc:creator>
      <dc:date>2024-05-14T18:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Sizes</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12774753#M2665</link>
      <description>&lt;P&gt;My hope is to have fastener locations populate as sizes increase/decrease to help productivity and remove operator error.&amp;nbsp; There is a string of messages that is close, but would also like to know how this was done because there will be other shapes that will be used as templates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 12:29:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12774753#M2665</guid>
      <dc:creator>christopheroEYZPA</dc:creator>
      <dc:date>2024-05-15T12:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Sizes</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12775627#M2666</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7861881"&gt;@christopheroEYZPA&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;My hope is to have fastener locations populate as sizes increase/decrease&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Exactly that (if I understand you right) is solved in the above linked posts. Did you try to analyze the suggestions?&lt;/P&gt;
&lt;P&gt;You need knowledge about working with (geometrical and dimensional) constraints (= Parametric) and you need appropriate formulas to calculate the values (number of items and distance between them) for the array(s).&lt;/P&gt;
&lt;P&gt;At which point do you need further help or assistance?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 18:05:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12775627#M2666</guid>
      <dc:creator>j.palmeL29YX</dc:creator>
      <dc:date>2024-05-15T18:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Sizes</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12776163#M2667</link>
      <description>&lt;P&gt;Formulas I suppose is where I am struggling. I have the block I created that I am able to stretch.&amp;nbsp; With-in that is an array to "repeat" fastener locations.&amp;nbsp; I could put in a more points or a stretch to adjust spacing, but that is not exactly what I was looking for.&amp;nbsp; I was just trying to see if there is a way to have that done as it is stretched/adjusted.&amp;nbsp; Unless I missed something, or I am trying to get it to do something it can't.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 22:35:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12776163#M2667</guid>
      <dc:creator>christopheroEYZPA</dc:creator>
      <dc:date>2024-05-15T22:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Sizes</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12778388#M2668</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7861881"&gt;@christopheroEYZPA&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I was just trying to see if there is a way to have that done as it is stretched/adjusted.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, that can be done. Two variants:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. You want an array of a length "L" whose item's distance &lt;U&gt;never exeeds&lt;/U&gt; a given value "D_max". &lt;BR /&gt;Formula for the number of items:&lt;BR /&gt;&lt;STRONG&gt;N=ceil(L/D_max) + 1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. You want an array of a length "L" whose item's distance is &lt;U&gt;always greater&lt;/U&gt; than a given "D_min".&lt;BR /&gt;Formula for the number of items:&lt;BR /&gt;&lt;STRONG&gt;N=ceil(L/D_min)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The formula for the distance between the items for both variants: &lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;Step=L/(N-1)&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Important attention: &lt;BR /&gt;To build such blocks, the "L" &lt;U&gt;must be a Constraint Parameter&lt;/U&gt; (created with the BCPARAMETER command. And so the block should not include Dynamic Parameters and Actions to drive the geometry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An example file is attached.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 16:48:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12778388#M2668</guid>
      <dc:creator>j.palmeL29YX</dc:creator>
      <dc:date>2024-05-16T16:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Sizes</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12778397#M2669</link>
      <description>&lt;P&gt;For variable arrays I go with the basic autocad ARRAYPATH and use the dynamic abilities of the block to alter the 'path' used for the array (usually a construction line).&amp;nbsp; I set its array method to Divide and then supply the number of Items with a User Parameter.&amp;nbsp; The content of the user parameter can be a formula such that it can resolve its own value but it has limitations in where it gets values to use in its formula.&amp;nbsp; It can't use an attribute, an object or a parameter.&amp;nbsp; &amp;nbsp;It can use a Constraint Parameter and other User Parameters.&amp;nbsp; To be able to use a constraint parameter the entire block needs to be built with constraint parameters.&amp;nbsp; You can't/shouldn't mix constraints with parameters and actions. (it gets ugly)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, my suggestion would be to either retool the block with constraint parameters for a fully automatic solution, or, go with a semi-automatic and supply the value(s) for the user parameter(s) that control the number of items in the array(s) via the properties window after the block is reshaped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 16:54:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/panel-sizes/m-p/12778397#M2669</guid>
      <dc:creator>MMcCall402</dc:creator>
      <dc:date>2024-05-16T16:54:09Z</dc:date>
    </item>
  </channel>
</rss>

