Can't divide by expression inside scetch
Can't divide by expression inside scetch
(OP)
So I have this wonderfull scetch and I am trying to use a percentage of the OD to keep the distance the same when I change the OD.
My OD expression is p46=4.114
What I would like to do is p178=(4.114/p46)*.99
Why when I try to do this it gives me an error that says "Dimension error" "The units of the formula are not consistent with the units specified.
Thanks!
My OD expression is p46=4.114
What I would like to do is p178=(4.114/p46)*.99
Why when I try to do this it gives me an error that says "Dimension error" "The units of the formula are not consistent with the units specified.
Thanks!





RE: Can't divide by expression inside scetch
I don't understand why you don't use p178=p46*0.99
RE: Can't divide by expression inside scetch
The reason I can't use p178=p46*0.99 is because I am reverse engineering something. So my initial value of p46=4.114
I am then going to change p46 so p46 in the end might be 5
If I use p178=p46*99 for p46=5 my answer would be 4.95, but my value should be 1.203 using p178=(4.114/p46)*.99 as that is about a 20% increase.
Hopefully I explained that ok.
RE: Can't divide by expression inside scetch
What you're going to have to do is go into the Expression Editor and create an expression which has a Dimensionality of 'Constant', something like XXX = (4.114/p46)*.99, and then set p178 equal to XXX (BTW, it's OK for an expression that requires units to be set equal to an expression that has NO units).
Give that a try as I think it will solve your problem.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Can't divide by expression inside scetch
Thanks!!