Can someone write the dynamic formula for two boxes, one over the other, so that when one is increased the other to be decreased according the height of previous one or viceversa, without changing the total height of two boxes?
Thanks
Can someone write the dynamic formula for two boxes, one over the other, so that when one is increased the other to be decreased according the height of previous one or viceversa, without changing the total height of two boxes?
Thanks
That shouldn’t be difficult to do. Do you need the total height to be fixed or adjustable?
Is this the sort of thing you want?
Note that the top box is flipped in the blue direction so its LenZ is changed toward the bottom box.
That’s what i though that it should be real simple, but I just can’t figure it out
With your formula I’m also missing something
I’m thinking of doing this with those two cabinet boxes
Upload the .skp file.
Untitled.skp (163.9 KB)
You really didn’t do anything as I showed it.
This part for Lenz for the Bottom box doesn’t make any sense.
=Boxes!BottomboxHeight-(Boxes!Totalheight-Top box!LenZ)-Boxes!BottomboxHeight
This amounts to X - Y - X or 0-Y
Try this instead. It will allow you to change the height of the entire assembly.
Side note: Make sure you are using tags correctly. Only groups and components should be given tags. All edges and faces should be created and remain untagged.
Thanks, That part for Lenz for the Bottom was left by mistake
I guess I was missing adding the position
and i was trying to make the top box adjustable also (unnecessarily) wich was complicating a little the situation.