Can array in dynamic block spread arrayed items and add extra item as the object stretched?

Can array in dynamic block spread arrayed items and add extra item as the object stretched?

merd94
Contributor Contributor
958 Views
7 Replies
Message 1 of 8

Can array in dynamic block spread arrayed items and add extra item as the object stretched?

merd94
Contributor
Contributor

Hello, I am creating a dynamic block (window) and stretching it, and I want to add subdividing elements (arrayed items) to it. I want the arrayed items to be divided evenly across the distance stretched and I want AutoCAD to add an extra object as I pass a specified distance. Is there a way to do it?

 

For example, the window distance is 550 cm, and the maximum distance for arrayed items I specify as 100 cm, which means there will be 6 arrayed items with a distance between arrayed items 91.6 (from 550/6), however, if I stretch the window to 600 cm AutoCAD should add one more arrayed item, and spread them evenly.

 

As I have tried everything that I know and searched forums, there is nothing related to this topic. And if there is no such thing, then dear Autodesk can you please add this simple formula to the dynamic blocks and make someone's life easier? 

 

Thanks,

Merd.

0 Likes
Accepted solutions (4)
959 Views
7 Replies
Replies (7)
Message 2 of 8

j.palmeL29YX
Mentor
Mentor
Accepted solution

Post your block please. 

Attached an example suggestion. 

 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 3 of 8

merd94
Contributor
Contributor

Thank you, this is what I wanted,  I appreciate your reply.

0 Likes
Message 4 of 8

twRQ2UH
Explorer
Explorer

@j.palmeL29YX I need to do something similar but with the array action. Is this possible?

For example, I have a side view of a louver, and the maximum center-to-center distance of each blade is 4.875". As I stretch the height of the louver I want blades to be added and divided evenly.

0 Likes
Message 5 of 8

j.palmeL29YX
Mentor
Mentor
Accepted solution

Sorry for the delay, I was on vacation. 

 

Attached a suggestion using constraints. 

Perhaps you still have to adjust the values for the dimensions d1 and d2 (do it in the Parameter Manager), I grabbed the current values from your file, but I'm not sure if it was drawn precisely.)

 

Question: Do you urgently want an array action as you asked or do you only want to avoid the constraints (perhaps becaues you're using LT)? In this case I would show you how to solve it with arraypath ... 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 6 of 8

j.palmeL29YX
Mentor
Mentor
Accepted solution

... and here (attached) a suggestion how to solve the issue without using of constraints. 

 

[EDIT]: Small error fixed

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 7 of 8

twRQ2UH
Explorer
Explorer

@j.palmeL29YX Yes, this is exactly what I was looking for! Very smart workaround. Thank you!

 

Do you mind sharing a quick video showing how you created this? I'm struggling to replicate what you did here (I'm not using LT, I have the full version of AutoCAD).

0 Likes
Message 8 of 8

j.palmeL29YX
Mentor
Mentor
Accepted solution

@twRQ2UH wrote:

 

... sharing a quick video 


"quick" is relative term 😉 

but here it is: 

 

 

 

Additional hint: In the Parameter Manager I'd suggest to turn off the visibility of the Visibility Parameter in the Properties Window (not shown in the video): 

 

Vis_off.png 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature