NX expression
NX expression
(OP)
Hi everybody,
I am trying to find NX expression for this situation:
If parametr_62=0 and parametr_65=0 then return 0, else return 1.
IF(p62=0)(0)else(1) ... works
IF(0=p65)(0)else(1) ... works
IF(p62=p65=0)(0)else(1) ... doesnt works (but is excepted)
Do you have any experince with this ???
Could you help me ?
Thanx
Jara
I am trying to find NX expression for this situation:
If parametr_62=0 and parametr_65=0 then return 0, else return 1.
IF(p62=0)(0)else(1) ... works
IF(0=p65)(0)else(1) ... works
IF(p62=p65=0)(0)else(1) ... doesnt works (but is excepted)
Do you have any experince with this ???
Could you help me ?
Thanx
Jara





RE: NX expression
IF(p62=0 AND p65=0)(0)else(1)
----
kukelyk
RE: NX expression
IF(p7=200)(IF(p8=200)(200)else(100))else(100)
This means, that:
when p7 dimension is 200, next IF statemnet is checked. Next statement says, that if p8 dimension is also 200, the third dimension will also be 200. If this second dimension (p8) is not 200, the third dimension is going to be 100.
when p7 dimension is anything else but 200, next IF statement is not relevant. The third dimension is automatically 100.
Hope that this will help.
RE: NX expression
IF(p62=0 & p65=0)(0)else(1)
Then it will work as you would like.
RE: NX expression
thank you for the answers!
2Kukelyk: AND doesn´t work
2SvenBom: yy, that is OK!
IF(p62>0)(1)ELSE(IF(p65>0)(1)ELSE(0))
and funny is this:
IF(p62+P65=0)(0)else(1)
Take care
Jara
RE: NX expression
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: NX expression
I have totally omitted so simple solution
Jara