Place family types in the same room

Hi guy,
I’m a beginner in Dynamo and I’m trying to place different family types in the same room.
The rooms are categorized by Institue, Level, and Nr. so that they will be unique for the entire project.

Can anyone help me with this?

Thanks