Split Building Mass component not working in the simulation

Hello there. I am working on a definition to simulate the daylight for different building shapes. The definition was working pretty well, but since I added the Split Building Mass component, the simulation doesn’t work anymore. The component turns red and give the error message "Solution exception: ‘nonetype’ object has no attribute “Transform”. I tried to test the same component in a smaller definition, with a simpler geometry and I had the same message, except that the “Transform” was changed by “X”. Can anyone help me with this error?

Thanks a lot.

DEFINIÇÃO ERRO SPLIT BUILDING MASS.gh (636 KB)

Hi Andressa, Why do you need to use split masses for Daylight simulation?

Hi Mostapha! I want to create windows by building levels (like in the link below that I sent). After this error, I tried to create manually the building levels, and I did it, but it didn’t work in the daylight simulation (http://www.grasshopper3d.com/group/ladybug/forum/topics/simulation-…). So, I gave up and simulated different levels just changing the work plane height, haha. Can you help me with this?