Script for familytype by level be space

Hi !

I’m new in dynamo i try to make a script for win a lot of time.

So i have a revit MODEL with an ARCHITECT MODEL linked.
I have in ARCHITECT MODEL a code of type room.
so for example i can have 20 room who have the same code B1++.

I would like to make a script which put all lightning in the same room of the project.

Can you help me ??

I don’t have enought experience and vocabulary for finding what i need.

Thanks a lot.