Replace by condition to get rid of division by zero


#1

I just want to replace an item when its value is zero thus avoid the divison by zero error,
I am struggling to make this node working
ReplaceByCondition, any help would be appreciated.


This is part of the large scheme here of coordinates tranformation.
The error says
" One or more of the input types are not matching. Couldn’t find a version of __Replace that takes arguments of type (__array,double,__array)"


#2

Hi there

Here some possible solutions

Cheers

Manel


#3

Thanks a lot. It is a short class on how to use those nodes!!!