Get number parameter


#1

Hi all,

I’m working with the node Element.GetParamterValueByName in which I’m looking for elements with the value 15 in a number parameter. The parameter I am looking for doesn’t exist in all input elements, but that is not where the problem lies. The problem is that the == node is returning true for all values that aren’t zero instead of returning true for all of the 15 values.

What I want is to filter the elements with a list.filterbyboolmask, but now there are elements that don’t belong in the list. Any help is greatly appreciated.

 
Number parameter


#2

So I just found something even more inconsistent, when I apply the list.filterbyboolmask and do the exact same parameter checking again, it does find only the 15 value! So my problem is somewhat solved, but it starts to look more and more like a serious bug to me.

Anyone have any idea as to why this might be happening?

Number parameter 2


#3

Just tested the script in 0.8.1RC and there it does work with just one filter, so I consider the problem solved!