IF string
IF string
(OP)
Hello to everybody,
i need some help with makeing an expression.
I would like to create an IF string expresion with more conditions wich would determin an dimension value:
lets say I need dimension P10 to be:
if the multiplication of dimensions (P6xP7)<=100 than i get value 10
if the multiplication of dimensions 100<(P6xP7)<=200 than i get value 20
if the multiplication of dimensions 200<(P6xP7)<=300 than i get value 30
if the multiplication of dimensions (P6xP7)>300 than i get value 40
Is this possible?
I have NX9.
Thank You
Luka
i need some help with makeing an expression.
I would like to create an IF string expresion with more conditions wich would determin an dimension value:
lets say I need dimension P10 to be:
if the multiplication of dimensions (P6xP7)<=100 than i get value 10
if the multiplication of dimensions 100<(P6xP7)<=200 than i get value 20
if the multiplication of dimensions 200<(P6xP7)<=300 than i get value 30
if the multiplication of dimensions (P6xP7)>300 than i get value 40
Is this possible?
I have NX9.
Thank You
Luka





RE: IF string
i figured it out already. I should not use the multiplication in my if statement.
I set an expresion for P6xP7 first as an Area (called pov).
Than i recalled this value in my if string.
its a long statement but it works
if(pov<=100)(10)else(if(pov>100 & pov<=200)(20)else(if(pov>200 & pov<=300)(30)else(if(pov>300 & pov<=400)(40)else(if(pov>400 & pov<=500)(50)else(60)))))
Thanks anyway
RE: IF string
CODE
www.nxjournaling.com