Hi everyone, sorry for the delay.
To explain, I have several buildings that contain polygon selections named in the same way "glass", "wall" ... I just wanted to assign a texture to each selection at once in order to avoid doing it 1 to 1. There are 250 buildings.