Array elements go too far?

Array elements go too far?

lhabeger
Explorer Explorer
280 Views
2 Replies
Message 1 of 3

Array elements go too far?

lhabeger
Explorer
Explorer

I am creating a dynamic block for industrial control panels of various, heights, widths and depths. Each with a limited number of choices. For example a 24 inch high panel can  only be 20 or 24 inches wide and can be 6, 8, 10 or 12 inches deep. I have created a linear parameter for the height and set its Distance type to list and entered the allowed heights of 24, 30, 36, 42, 48 and 60. I then added a stretch action and the height adjusts exactly as I intended. I then added two sections of hinge and chained an array action to the distance(Height) parameter. When I test it it goes beyond the height of the panel by one copy and does not stop where I expect it to. Does any one know what happening here or how to fix it?

0 Likes
Accepted solutions (1)
281 Views
2 Replies
Replies (2)
Message 2 of 3

h_s_walker
Mentor
Mentor
Accepted solution

Don't put the array action on the height parameter. Make a new parameter for the array and then chain that to the height parameter. See the attached drawing

Howard Walker
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


Left Handed and Proud

0 Likes
Message 3 of 3

Libbya
Mentor
Mentor

You might not understand what the chain property of a parameter means.  It means that when an action associated with a different parameter acts on the chained parameter, the chained parameter's actions are activated in the same way as if the chained parameter's grip was used (or value was changed in properties).  Considering there is only a single parameter in your block, making it chained has no effect whatsoever.  Making parameters chained unnecessarily can cause unwanted behavior so making a parameter chained when it is not needed is IMO a bad idea.

 

The first new object of an array appears when the associated parameter is equal to 2X the array action's column offset.    

0 Likes