Volume of a Box = LWH
Volume of a Box = LWH
(OP)
I know this is simple, but I have been in Shanghai for two weeks and I am burnt out.
If it is given that a box size is 25 liters and I need to control the L,W, & H what is the best way to set up the expresions.
I want to be able to change any one of the 3 and the other two would update.
Sorry for the simple question.
If it is given that a box size is 25 liters and I need to control the L,W, & H what is the best way to set up the expresions.
I want to be able to change any one of the 3 and the other two would update.
Sorry for the simple question.





RE: Volume of a Box = LWH
For example, if you start out with all sides being equal, a 25 liter 'block' would have each side equal to 29.24 mm. Now if I change the size of one side, which one of the others sides do I change? Or do I change them both?
So you see, it've not a trivial, nor even a straightforward problem to solve.
John R. Baker, P.E.
Product 'Evangelist'
UGS NX Product Line
SIEMENS
UGS PLM Software
Cypress, CA
http://www.siemens.com/ugs
http://www.plmworld.org/museum/
RE: Volume of a Box = LWH
Once before I had to base the weight of a block used in a toque gage based on a supplied value so a wrote a relation for the Xsec Area and used that to drive the block thickness base on the supplied Parameter for it's weight.
Michael
RE: Volume of a Box = LWH
using the Expression system of NX, couldn't you subordinate the update to a "switch" which indicates which dimension has to drive the others?
Example:
switch=1 (1 = length and width are independent; 2 = width and height are independent; 3 = height and width are independent)
IF switch =1 then ...
IF switch = 2 then...
IF switch =3 then...
Regards