Dynamic Block Equal Array

Dynamic Block Equal Array

Jake_CAD
Advocate Advocate
1,522 Views
7 Replies
Message 1 of 8

Dynamic Block Equal Array

Jake_CAD
Advocate
Advocate

Dear all,

 

I wish to incorporate an array function to distribute the balusters equally across the width, when the width is adjusted.

 

Using the attached block as a working example, does anybody have advice?

 

Kind regards,

 

Jake

0 Likes
Accepted solutions (1)
1,523 Views
7 Replies
Replies (7)
Message 2 of 8

TheCADnoob
Mentor
Mentor
Accepted solution

I was able to approximate the behavior. It's a two grip process instead of just the one. 

 

I added a line that ran the length of the wall and then a constraint Parameter to it. 

I started an array from scratch using the array command. 

Then I defined two User Parameters. One called Count and one called Mid

I set Count equal to round(d1/1987.5)+1 this took the distance of the wall and devided it by the distance between the center of the first and second column in your block. Then it rounds it up and adds one. This gives you the total number of columns that will be needed. 

I set Mid equal to ((d1-350)/(Count -1)) which is the distance of the wall (minus the end space) divided by the number of columns needed. 

 

TheCADnoob_0-1715976013070.png

 

 

I then used Count and Mid in the Array parameters

 

TheCADnoob_1-1715976040031.png TheCADnoob_2-1715976052919.png

 

 

Now you just drag the wall and then drag the distance parameter. 

 

CADnoob Dynamic Block Equal Array.gif

CADnoob

EESignature

0 Likes
Message 3 of 8

Gil_C
Advocate
Advocate

Bingo!!😎

Digital Design Manager | Technology Consultant | CITE User Group Leader | AUGI Advisory Board Member
0 Likes
Message 4 of 8

Gil_C
Advocate
Advocate

Good job

Digital Design Manager | Technology Consultant | CITE User Group Leader | AUGI Advisory Board Member
0 Likes
Message 5 of 8

Jake_CAD
Advocate
Advocate

That is fantastic, thank you.

 

Thank you also for the concise method explanation.

Message 6 of 8

TheCADnoob
Mentor
Mentor

Glad it works for you, happy to help!

CADnoob

EESignature

0 Likes
Message 7 of 8

rp_cad_2025
Explorer
Explorer

Can someone help me, please?

I am trying to have a dynamic block with different visibilities (caster sizes). I want the supports to show as I increase the size of the base, evenly spaced. Also, to add more casters after a specific size. Please see attached for reference. Thank you in advance!!

0 Likes
Message 8 of 8

TheCADnoob
Mentor
Mentor

 


@rp_cad_2025 wrote:

Can someone help me, please?

I am trying to have a dynamic block with different visibilities (caster sizes). I want the supports to show as I increase the size of the base, evenly spaced. Also, to add more casters after a specific size. Please see attached for reference. Thank you in advance!!


Given the example above, what have you tried?

CADnoob

EESignature

0 Likes