Linear array - grip doesn't align with a bar.

Linear array - grip doesn't align with a bar.

mikelisBVU5M
Explorer Explorer
166 Views
4 Replies
Message 1 of 5

Linear array - grip doesn't align with a bar.

mikelisBVU5M
Explorer
Explorer

mikelisBVU5M_0-1756133805085.png

The grip doesn't align with bar spacing. It appears that the grip is somehow distance multiplied or something.

Apologies, if this topic has been covered before.

 

Many Thanks!

0 Likes
Accepted solutions (1)
167 Views
4 Replies
Replies (4)
Message 2 of 5

Libbya
Mentor
Mentor

Post your block.

0 Likes
Message 3 of 5

Libbya
Mentor
Mentor

The first new arrayed object does not appear until the associated parameter length is equal to 2X the column offset of the given array action.

 

When equipped with that knowledge you can see exactly why your block is not working the way you would like.  If the associated parameter starts at the object to be arrayed, then each new arrayed object will always appear when the associated parameter is an extra column offset beyond the final arrayed object.  If the column offset is 400, then the first new arrayed object will be 400 units beyond the start point but will not appear until the associated parameter is equal to 800 units.  The next arrayed object will appear at 800 units when the associated parameter is equal to 1200 units, etc...  

 

If you want each new arrayed object to appear at the location of the grip when the column offset of a given array action is reached, then the solution is fairly simple.  Add a chained linear parameter to associate with the array action.  Make the length of that chained linear parameter so that it is equal to the column offset when at the object to be arrayed.  Stretch that chained linear parameter with the parameter showing the grip.  Do that for each array.  

 

In the attached file I fixed the 50 and 100 states.  You should be able to complete the remainder using those two states as examples.  Let me know if you have further questions.  

Message 4 of 5

mikelisBVU5M
Explorer
Explorer

Ok, but there seems to be a little snag. I created the offsets for all the rebar spacings using your example, but it only seems to display the 50 mm spacing and even then - incorrectly. I guess there's a small detail that I'm missing - see the attached block. 

 

Thanks!

0 Likes
Message 5 of 5

Libbya
Mentor
Mentor
Accepted solution

Each of the parameters with arrays associated with them must be chained.  They also must all have their base location to the left and their end point to the right.  If you temporarily turn on 1 grip for each of the parameters with arrays associated with them, that grip should be at the same location as the grip for the slider parameter.  You have them backwards.  Turn the grips off for the chained parameters after you get them oriented correctly.  You also need to stretch each of the chained parameters and you must not stretch the arrayed objects in the horizontal direction.

 

You can only set 1 increment for a given parameter.  If you want the increment to change with the visibility state change, then you will need a separate parameter with grip and appropriate increment for each visibility state, along with a separate chained parameter for the array for that state. 

0 Likes