Hello. I wonder if anyone can help me? I'm trying to create a dynamic block where, when I stretch it, the two 'inner objects' remain equally spaced. The attached block 'TRY' shows two ends in red with two inner objects in red. When I stretch the overall, distance 1, I need distances 2, 3 & 4 to be equal.
Is this possible and could somebody show me how to do it please?
Solved! Go to Solution.
Solved by j.palmeL29YX. Go to Solution.
Solved by ojuris. Go to Solution.
Solved by j.palmeL29YX. Go to Solution.
The description of the functionality is not yet complete.
What shall happen with the Distances2..4, if you stretch the Distance1?
What shall happen if you sretch the Distances2...4?
We need more information about what you want to achieve.
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.
One possible interpretation can be: the width of all four red rectangles is fixed and stretching the Distance1 stretches the Distances2...4 (and only these) equally.
Is that what you want?
A first attempt attached.
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.
All of the examples worked exactly as I was hoping so, thanks to both of you for your replies. Jurgen's blocks were easier for me to understand how it was done (with the 'equal' constraints)
To push my luck a little - is it possible to have this same block but where the number of inner (narrower) rectangles can be can be user-defined? ie, I'm showing two at the moment but if I wanted 4 (not a problem if this is too much - what you've given me so far is excellent)
Thanks again
@jerome wrote:
... is it possible
Of course 🙂
As long as the number of variants is not too large (2 or 3 or 4 or 5 inner objects) I'd do it with different Visibility States as you can see in the attached file, which includes (besides some other old blocks) the new block "TRY 2-5".
HTH
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.
Can't find what you're looking for? Ask the community or share your knowledge.