Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Jake_PCH
763 Vistas, 5 Respuestas

Dynamic Block Equal Array

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

Etiquetas (2)
Etiquetas (1)
TheCADnoob
en respuesta a: Jake_PCH

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

Gil_C
en respuesta a: TheCADnoob

Bingo!!:cara_con_gafas_de_sol:

Gil_C
en respuesta a: TheCADnoob

Good job

Jake_PCH
en respuesta a: TheCADnoob

That is fantastic, thank you.

 

Thank you also for the concise method explanation.

TheCADnoob
en respuesta a: Jake_PCH

Glad it works for you, happy to help!

CADnoob

EESignature