Floortype ID by RoomName

That was the solution, but now i get another problem with it…
I have over a hundred rooms, named with “Appartment 001” up to 108…

Atm the graph only works for the exact same room name, is there a way to tell it, that it should do it with “appartment” included, no mather what else is behind the name?

Ofcourse! You can make a filter based on the string.contains node. This node will search if a string contains a substring, for example “appartment 001” contains the substring “appartment”. You then get a list of true and false which you can use as a mask in the filter.boolmask node.
With this you can very easily filter all the elements with a name which contains a substring called appartment. Just don’t forget to either filter the name parameters too, or just get the names of the filtered elements again (easiest option, but not the most efficiënt).

Goodluck and if you get stuck somewhere, don’t be afraid to show your work and ask for help :smiley: