Dynamic block constraint

Dynamic block constraint

swarnock
Explorer Explorer
510 Views
3 Replies
Message 1 of 4

Dynamic block constraint

swarnock
Explorer
Explorer

 

I'm new to applying dimension constraints within dynamic blocks (coming from LT) and could use a kick start from the community.   To work within the width limitations of a commercial product I have a condition where the width of my object will dictate the maximum height of the object using the formula Height = Width*(-0.2785+63).

 

How would I apply a constraint to the object so that when the width of the dynamic block is set the maximum height of the object is constrained by the formula?

 

0 Likes
511 Views
3 Replies
Replies (3)
Message 2 of 4

Libbya
Mentor
Mentor

Why are you writing the formula like that?  

 

Width*(-0.2785+63)=Width*62.7215

 

That is mathematically correct, but the use of parentheses instead of the simplified form makes me wonder if you intend something different. 

 

Anyway, assuming that is correct, here is a step-by-step screencast showing how to incorporate it.  

 

 

0 Likes
Message 3 of 4

swarnock
Explorer
Explorer

 

Thanks the screen cast was very helpful to understanding dimensional and geometric contraints and and yes I was a bit hasty on the formula should read (Width*-0.2785)+63. I’m realizing that constraints may not be what Im looking for. What I really want to do is limit the height of the dynamic block based on the formula. An example would be stretching the width of the object to 36in. and then be able to stretch the height to a max. value of 53in., or (36*-0.2785)+63. 

 

0 Likes
Message 4 of 4

Libbya
Mentor
Mentor

You cannot dynamically adjust the max/min settings of dynamic parameters or dimensional constraints.  

0 Likes