Solution exception:object of type 'NoneType' has no len()

Hi all,

I was trying to use the LB Incident radiation component on grasshopper but all I get is the error:

  1. Solution exception:object of type ‘NoneType’ has no len()

Which I’m not sure why it has appeared - I have never seen it before? If someone could explain what this means I would be very grateful.
Additionally, in the report this is what it says:

        {0;0;0}
  1. Runtime error (TypeErrorException): object of type ‘NoneType’ has no len()

Traceback:
line 351, in to_joined_gridded_mesh3d, “C:\Program Files\ladybug_tools\python\Lib\site-packages\ladybug_rhino\togeometry.py”
line 144, in script
line 319, in to_gridded_mesh3d, “C:\Program Files\ladybug_tools\python\Lib\site-packages\ladybug_rhino\togeometry.py”

Thank you in advance

@vickybula can you post an image of your script or share a sample file replicating the problem? it would help in troubleshooting
best
-trevor

Hi Trevor
thanks for the response but I’ve already figured out the issue - my BREPS were accidentally duplicated in my grasshopper script so I didn’t realise I had multiple of the same geometry plugged into the context

1 Like