Honeybee split problem and zones definition

Hi everyone.
I’m trying to run some daylight analysis on a shoebox geometry which is this

I set everything as it seems that its is supposed to be but i get the error < 1. Solution exception:‘NoneType’ object has no attribute ‘split’ > both in the createHBzones and in run Daylight Simulation componets.

I really don’t understand why it says so

Honeybee attempt.gh (852.3 KB)

massing.3dm (290.0 KB)

Make sure the edge of the window doesn’t touch the edge of the parent surface.

Also since your model is static I suggest to subtract the windows from the walls and use surfaces to create the daylight model. You don’t need to create a zone.

1 Like

The AttributeError is an exception thrown when an object does not have the attribute you tried to access. ‘NoneType’ object has no attribute ‘split’ often indicates that the attribute you are trying to split is Null, meaning there is no value in it to split. So, you need to check the attribute is not Null before splitting. Something like…

if val is not None:
    # ...