Null output through C# script - Kernel Density (James Ramsden script)


I’m having issues with getting a C# script to work, from James Ramsden’s site (

My output keeps giving null values and I’m not sure why. Is it how I’m placing the script, or how the data is being read from my model (not inputting the correct data type)? GH script is attached, data should be internalized.

Thanks! (12.4 KB)

You placed a second runscript function in there, you need to paste the contents of that function into the provided runscript function. You may also have to set some input type hints.

Ahh it was the type hints that did the trick. Thank you!