Truely Illogical!
Truely Illogical!
(OP)
A boolean expression like i==20 should either result in either 0 or 1, right?
Then an expression like
j=i==20 (where i and j are constants)
should be a valid expression, but expression editor gives
"datatype error
Boolean was found where Number was expected"
And moreover the above way of writing expression is more compact than
j=if(i==20)(1)else(0)
ug version used NX4.0.4.2
Then an expression like
j=i==20 (where i and j are constants)
should be a valid expression, but expression editor gives
"datatype error
Boolean was found where Number was expected"
And moreover the above way of writing expression is more compact than
j=if(i==20)(1)else(0)
ug version used NX4.0.4.2





RE: Truely Illogical!
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.