Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynamic block with equally spaced objects

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
jerome
465 Views, 6 Replies

Dynamic block with equally spaced objects

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?

Tags (1)
6 REPLIES 6
Message 2 of 7
j.palmeL29YX
in reply to: jerome

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.

EESignature

Message 3 of 7
j.palmeL29YX
in reply to: j.palmeL29YX

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.

EESignature

Message 4 of 7
ojuris
in reply to: jerome

Try this

May be this is little bit simpler than @j.palmeL29YX 

Message 5 of 7
jerome
in reply to: jerome

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

Message 6 of 7
j.palmeL29YX
in reply to: jerome


@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.

EESignature

Message 7 of 7
jerome
in reply to: jerome

Excellent - you guys are masters!  Thanks very much

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Customer Advisory Groups


”Boost