hi martin not sure if I understand it can you please rearrange it for me:
xVal = IN[0]
xout=[]
for x in xVal:
b = abs(x)
if b<150:
xout.append("Less than 150 Pipe is " + str(b))
else:
xout.append('Cool keep going ' + str(b))
OUT = xout
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 4, in
TypeError: bad operand type for abs(): ‘NoneType’
xVal = IN[0]
xout=[]
for x in xVal:
b= abs(x)
if b<150:
xout.append("Less than 150 Pipe is " + str(b))
else:
xout.append('Cool keep going ' + str(b))
OUT = xout