Tag multiple rooms across multiple views


I am attempting to apply room tags to a set of apartment views i have created. The script i have currently created will tag all rooms in a view, but when attempting to apply this to multiple views the script will crash. Any ideas? More information or screens can be provided, if required. I am running the in list from “list.filterByBoolMask” directly into the Tag.BySpatialElement node. Two screenshots were required. One selecting views, the other tagging rooms.