<?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: Copy Array in Dynamic Block with Set Distances in Dynamic Blocks Forum</title>
    <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12720546#M2972</link>
    <description>&lt;P&gt;I spent some time trying to figure out how to do this without using constraints but so far I've only come close to a full solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ARRAYPATH works as long as you can tell it how many objects in the array.&lt;/P&gt;
&lt;P&gt;A User Parameter can do this by entering its name as the number of items in the array properties.&lt;/P&gt;
&lt;P&gt;Using just parematers, a Block Table is the only tool that can assign a value to a User Parameter.&lt;/P&gt;
&lt;P&gt;OK, I'll use the Width parameter length to assign a value for the User Parameter based on ranges of length values.&lt;/P&gt;
&lt;P&gt;Block table doesn't accept ranges ...&amp;nbsp; a Lookup does ... but a Block table can't see a Lookup value&lt;/P&gt;
&lt;P&gt;Ok, I'll use a double Lookup, with ranges for the Width parameter to supply values for a new horizontal parameter and use it's value in the block table. This makes the horizontal parameter have incremental values as the Width randomly changes.&lt;/P&gt;
&lt;P&gt;No go, the new parameter isn't available as its already been used in the Lookup.&lt;/P&gt;
&lt;P&gt;Ok, I'll add another horizontal parameter and use the first one to operate it with a chained stretch action and then use that second parameter in the block table.&lt;/P&gt;
&lt;P&gt;This worked!&lt;/P&gt;
&lt;P&gt;Now on the array in the other direction, same approach as the first.&lt;/P&gt;
&lt;P&gt;.... there's only one block table available.&lt;/P&gt;
&lt;P&gt;Ok, enter both linear parameters and both user parameters into the table in a matrix of values to supply the correct two user parameter values based on the two linear parameters.&amp;nbsp;&amp;nbsp; (this could balloon exponentially with values so I just entered a few to test it out)&lt;/P&gt;
&lt;P&gt;No go.&amp;nbsp; The user parameters don't change and I'm out of ideas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I trimmed the table back to work in one direction and posted it as an example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not familiar enough with the block to rebuild it using just Constraints.&amp;nbsp; (and don't mix and match constraints with parameters, tried it, it got ugly)&amp;nbsp; The user parameters can easily use the value of a constraint in a formula to derive their value and pass them on to the arraypaths.&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-inline" image-alt="MMcCall402_0-1713541162085.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1352217i5921290751BE406D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MMcCall402_0-1713541162085.png" alt="MMcCall402_0-1713541162085.png" /&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>Fri, 19 Apr 2024 15:39:46 GMT</pubDate>
    <dc:creator>MMcCall402</dc:creator>
    <dc:date>2024-04-19T15:39:46Z</dc:date>
    <item>
      <title>Copy Array in Dynamic Block with Set Distances</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12712430#M2968</link>
      <description>&lt;P&gt;Hi, I am running into a little issue. I am trying to copy items in a vertical and horizontal array. I tried looking at different forums but I cannot find a solution. Basically, what I am trying to do is copy the small circles with cross lines at a max of 48" as shown below ...&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-inline" image-alt="Dj_T_Rex2002_0-1713282315676.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1350523iF5392263C13C60C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dj_T_Rex2002_0-1713282315676.png" alt="Dj_T_Rex2002_0-1713282315676.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means, if the building increases, I would like to have a circle in the middle as the spacing would be larger than 48" (doesn't have to have the dimension if that's an issue). Example below showing dimension for distance purpose ...&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-inline" image-alt="Dj_T_Rex2002_1-1713282548328.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1350526iDE9A0F809453B3A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dj_T_Rex2002_1-1713282548328.png" alt="Dj_T_Rex2002_1-1713282548328.png" /&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 15:55:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12712430#M2968</guid>
      <dc:creator>Dj_T_Rex2002</dc:creator>
      <dc:date>2024-04-16T15:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array in Dynamic Block with Set Distances</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12712880#M2969</link>
      <description>&lt;P&gt;This is do-able but not exactly easy.&amp;nbsp; First is to remove the parameters and switch over to using Constraints.&amp;nbsp; Constraints are needed so we can make some equations in a few user parameters to calculate how many items should be in the array.&amp;nbsp; One for each direction and one so you can specify values other than 48 of you needed to.&amp;nbsp; There are two Arraypaths set up for making the symbols replicate.&amp;nbsp; The "paths" for the arrays are construction lines with their lengths defined by d5 and d8.&amp;nbsp; Those length values are defined by two other constraint values such that they'll adjust with the overall length and offset from the ends.&amp;nbsp; The two Arraypaths use the values of WidthArray and HeightArray as the values for the number of items in the array.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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-inline" image-alt="MMcCall402_0-1713296899473.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1350631i4D60DDA852C70E8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MMcCall402_0-1713296899473.png" alt="MMcCall402_0-1713296899473.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 20:01:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12712880#M2969</guid>
      <dc:creator>MMcCall402</dc:creator>
      <dc:date>2024-04-16T20:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array in Dynamic Block with Set Distances</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12712895#M2970</link>
      <description>&lt;P&gt;I'm sure there's a way to do this with parameters, a couple lookups to supply values for a couple user parameters to be used as item quantities in the arraypaths.&amp;nbsp; The Lookups would provide those values based on value ranges for the linear distance parameters.&amp;nbsp; (I always have to research the syntax for specifying the range values correctly)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 20:09:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12712895#M2970</guid>
      <dc:creator>MMcCall402</dc:creator>
      <dc:date>2024-04-16T20:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array in Dynamic Block with Set Distances</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12713007#M2971</link>
      <description>&lt;P&gt;Do you think I can still use Constraints? I already spent a lot of time setting it all up and I just want to be able to array those small items lol. Attaching drawing so maybe you can see what I am trying to do.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 21:18:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12713007#M2971</guid>
      <dc:creator>Dj_T_Rex2002</dc:creator>
      <dc:date>2024-04-16T21:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array in Dynamic Block with Set Distances</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12720546#M2972</link>
      <description>&lt;P&gt;I spent some time trying to figure out how to do this without using constraints but so far I've only come close to a full solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ARRAYPATH works as long as you can tell it how many objects in the array.&lt;/P&gt;
&lt;P&gt;A User Parameter can do this by entering its name as the number of items in the array properties.&lt;/P&gt;
&lt;P&gt;Using just parematers, a Block Table is the only tool that can assign a value to a User Parameter.&lt;/P&gt;
&lt;P&gt;OK, I'll use the Width parameter length to assign a value for the User Parameter based on ranges of length values.&lt;/P&gt;
&lt;P&gt;Block table doesn't accept ranges ...&amp;nbsp; a Lookup does ... but a Block table can't see a Lookup value&lt;/P&gt;
&lt;P&gt;Ok, I'll use a double Lookup, with ranges for the Width parameter to supply values for a new horizontal parameter and use it's value in the block table. This makes the horizontal parameter have incremental values as the Width randomly changes.&lt;/P&gt;
&lt;P&gt;No go, the new parameter isn't available as its already been used in the Lookup.&lt;/P&gt;
&lt;P&gt;Ok, I'll add another horizontal parameter and use the first one to operate it with a chained stretch action and then use that second parameter in the block table.&lt;/P&gt;
&lt;P&gt;This worked!&lt;/P&gt;
&lt;P&gt;Now on the array in the other direction, same approach as the first.&lt;/P&gt;
&lt;P&gt;.... there's only one block table available.&lt;/P&gt;
&lt;P&gt;Ok, enter both linear parameters and both user parameters into the table in a matrix of values to supply the correct two user parameter values based on the two linear parameters.&amp;nbsp;&amp;nbsp; (this could balloon exponentially with values so I just entered a few to test it out)&lt;/P&gt;
&lt;P&gt;No go.&amp;nbsp; The user parameters don't change and I'm out of ideas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I trimmed the table back to work in one direction and posted it as an example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not familiar enough with the block to rebuild it using just Constraints.&amp;nbsp; (and don't mix and match constraints with parameters, tried it, it got ugly)&amp;nbsp; The user parameters can easily use the value of a constraint in a formula to derive their value and pass them on to the arraypaths.&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-inline" image-alt="MMcCall402_0-1713541162085.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1352217i5921290751BE406D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MMcCall402_0-1713541162085.png" alt="MMcCall402_0-1713541162085.png" /&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>Fri, 19 Apr 2024 15:39:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12720546#M2972</guid>
      <dc:creator>MMcCall402</dc:creator>
      <dc:date>2024-04-19T15:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array in Dynamic Block with Set Distances</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12725151#M2973</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3215587"&gt;@MMcCall402&lt;/a&gt;&amp;nbsp;I really appreciate your help. I have no clue how you did the whole Lookup2 or Lookup3, but I will try to figure it out slowly lol. I really really appreciate your help. This is exactly what I need, I just need to study it slowly. Thank you!!!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 13:53:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12725151#M2973</guid>
      <dc:creator>Dj_T_Rex2002</dc:creator>
      <dc:date>2024-04-22T13:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array in Dynamic Block with Set Distances</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12725180#M2974</link>
      <description>&lt;P&gt;But its not a complete solution.&amp;nbsp; It only works for one array direction.&amp;nbsp; I tried to add the other direction into the mix but the result was that neither of them worked then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I think a rebuild with only constraints would be the best solution to this need.&amp;nbsp; &amp;nbsp;You'll probably end up with fewer visibility states as a bonus.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 14:05:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/copy-array-in-dynamic-block-with-set-distances/m-p/12725180#M2974</guid>
      <dc:creator>MMcCall402</dc:creator>
      <dc:date>2024-04-22T14:05:14Z</dc:date>
    </item>
  </channel>
</rss>

