Linear Array of an Object within a block

Linear Array of an Object within a block

Anonymous
Not applicable
1,129 Views
3 Replies
Message 1 of 4

Linear Array of an Object within a block

Anonymous
Not applicable

Hello All,

 

PLEASE REFERENCE CAPTURE 1 FOR THE  EXPLANATiON BELOW.

"Distance 1" and "Distance 2" are 4.5 inches each and will remain as such throughout the dynamic actions. The stretch action that I’ve assigned to "Panel Dim. 2" will only increase or decrease "Distance 3". 

 

What I’m trying to do - and haven't been able to figure out how thus far – is to array “Object A” in such a way that when “Distance 3” exceeds 24”, “Object A” is linearly arrayed to the center point of “Distance 3” as many times as possible so as maintain a distance between all “Object As” at a maximum of 24”. 

 

As shown, the objects are spaced exactly 24" O.C., so there is no need for a third "Object A" to be linearly arrayed in the middle.

 

PLEASE REFERENCE CAPTURE 2 FOR THE EXPLANATiON BELOW.

 

However, this next image will show you what I would like to achieve. When "Distance 3" becomes greater than 24", say 37" a new "Object A" will appear equidistant from both "Object A"s at 18 1/2" O.C. 

 

PLEASE REFERENCE CAPTURE 3 FOR THE EXPLANATiON BELOW.

To take is a step further, if "Distance 3" becomes even greater than 37", say 56". Then, more than one new "Object A" is required to appear because one new "Object A" would be 28" O.C. from the original "Object As". In this case, we will introduce another "Object A", to further shrink the distance between all objects to less than 24" which in thise case will turn out to be 14" - as shown. 

 

I'm trying to streamline that use of stone panels in shop drawings for my office, and trying to do so in dynamic blocks is proving to be difficult. Any and all input would be appreciated - if you needed further explanation please do not hesitate to contact me. 

 

0 Likes
Accepted solutions (1)
1,130 Views
3 Replies
Replies (3)
Message 2 of 4

Libbya
Mentor
Mentor

After you POST THE BLOCK FILE I will take the time to read your description and try to help if I can.  

0 Likes
Message 3 of 4

Anonymous
Not applicable

Please find attached the dynamic block file

 

0 Likes
Message 4 of 4

Libbya
Mentor
Mentor
Accepted solution

There is a 'Distance 1' parameter in your block but it is not 4.5 inches and is not located like in the first png.  There is no 'Distance 2' parameter in your block.  The as-drawn distance for that position in your block is 3.35749300, not 4.5.  

 

Regardless of those discrepancies, it is possible to do what you are asking for as long as the potential total Panel Dim is limited.  You cannot do this with an array, though.  You need to use visibility states and switch between them using a double lookup with the 'Panel Dim. 2' as input and visibility states changed as the output.  This screencast shows the method necessary.  Obviously, the with each additional object, the work for setup gets more involved.