Element.GetParameterValueByName - Output not divisible

Hi,

I am a new user of Dynamo so apologies if this topic has been talked over at length before. I have unfortunately not found any topics here that focus on my specific issue.

The Element.GetParameterValueByName node is picking up the “Fire Rating” from my project but these lists produce a null result when I try to divide the numbers.

The parameter is a type parameter rather than an instance parameter, will this have an effect on the result?

Many thanks

Hi @stuart.evans

That’s because fire rating parameter storage type is not number. You need to convert to number and then divide. You can use “String,ToNumber” node to convert that. Cheers!

1 Like

Hi Kulkul,

That is perfect thank you, all sorted.

Always the simple things that the newbies like to get stuck with and go round and round in circles on.

Many thanks,