icetea73
New member
- Apr 10, 2013
- 53
Is there some trick when using the modulus operator "%" in expressions?
It seems that it doesn't work consistently - sometimes I get an syntax error and other times it just works just for the same expression.
When entering the expression as soon as % is entered the auto-completion stops working. This is all inside the expression editor. Using the mod() function works in the same context by the way...
For example: "(1%level)*(stock_dia/2+gap)" gives an syntax error while "mod(1,level)*(stock_dia/2+gap)" just works.
I'm using NX9.0.1.3
It seems that it doesn't work consistently - sometimes I get an syntax error and other times it just works just for the same expression.
When entering the expression as soon as % is entered the auto-completion stops working. This is all inside the expression editor. Using the mod() function works in the same context by the way...
For example: "(1%level)*(stock_dia/2+gap)" gives an syntax error while "mod(1,level)*(stock_dia/2+gap)" just works.
I'm using NX9.0.1.3