Dynamic Stretch equally and array

Dynamic Stretch equally and array

Anonymous
Not applicable
1,624 Views
5 Replies
Message 1 of 6

Dynamic Stretch equally and array

Anonymous
Not applicable

Hello, I'm not sure if someone can help me with this or not but I figured I'd give it a shot. 

 

I am looking to create a dynamic block that stretches rectangular boxs (probably 7-8) equally within a certain ceiling height. 

 

So in other words, I have the ability to change the ceiling height and all the boxes between the floor and ceiling height will be automatically stretched equally. This is for a shower enclosure panel design.

 

Wondering if this is even possible. 

0 Likes
Accepted solutions (1)
1,625 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable

Adding my block, tried to Edit got timed out and wouldn't let me re-edit.

 

Basically, you'll notice the block to the right is what I am trying to use to have a distance parameter that can be manipulated to change a ceiling height and have all the panels inside it stretch equally. I'm not too great with dynamic blocks so I came here for help. I came across this post that is closely to what I am trying to acheive. https://forums.autodesk.com/t5/dynamic-blocks/stretching-equally-while-arraying/m-p/3295895#M13430

 

Any help will be appreciated. Thank you

0 Likes
Message 3 of 6

Libbya
Mentor
Mentor
Accepted solution

You need to change the distance multiplier in properties for each of the stretch actions so that they stretch at their specific rate relative the parameter movement.  For example one that is right in the middle of the paramater would have a distance multiplier of 0.5.  The one that you want to stay at 3/4 would have a distance multiplier of 3/4 or 0.75, etc...  It looks like you have 7 panels in your block.  The very top would move with a distance multiplier of 7/7 or 1.0.  The next stretch would have a distance multiplier of 6/7, etc...

Message 4 of 6

Anonymous
Not applicable

WOW. Thats perfect. Exactly what I was looking for. Now if I wanted to take it a step further and add an array to it? How would that work out?

0 Likes
Message 5 of 6

Libbya
Mentor
Mentor

You cannot dynamically change the column offset in an array.  You can get around that issue somewhat by creating a visibility state for each number of panels you want and adding all of the necessary stretch actions.  You then switch visibility states to change the number of panels and the linear parameter stretches them all evenly.

0 Likes
Message 6 of 6

Anonymous
Not applicable
Great. Thank you Libbya
0 Likes