Python script

Hello guys,
I’m using this python script to get a wall type name but for some reason it doesnt work when I’m entering 0.3 as 0.2+0.1 and it works for 0.15+0.15.

5 Capture

try doing something like

if abs(0.3 - ep) < 0.01

instead of ==

1 Like

Thank you so much it’s working