No. The code that is posted adds two windows to room walls. It’s not sklights. You can read it in the comments.
I’m not sure if I understand what you mean by a “layout” but there is no such a rule in general.
I already replied to this question under similar topic. See here:
Please do not open duplicated topics so we can help you easier.
In honeybee Y axis is north. In the example the room is rotated using rotation_angle
argument.
room = Room(origin=(0, 0, 3.2), width=4.2, depth=6, height=3.2, rotation_angle=45)
You have to create each room separately and then add them all to the recipe instead having a single room. In that case you will get a single scene
with 3 rooms.
EDIT: You will also need 3 analysis grids, one for each room if you are interested to get the values inside each of the 3 rooms.
room_1 = Room(origin=(x1, y1, z1), ...)
room_2 = Room(origin=(x2, y2, z2), ...)
room_3 = Room(origin=(x3, y3, z3), ...)
# ...
rp = GridBased(
sky=sky,
analysis_grids=(analysis_grid_1, analysis_grid_2, analysis_grid_3),
simulation_type=0,
hb_objects=(room_1, room_2, room_3)
)
See SolarAccess recipe. You should use that instead of the grid-based recipe and you will need sun vectors which you can generate using sun-path. Here is an example: