Thanks a lot Marcel, it works well. I don’t have Revit 2017 on my labtop. So i opened you’re files with Revit 2018.1. As soon as i opened the filter to take a closer look at it, Revit crashes. Three times in a row. But i will try to rebuild you’re script in 2016. Just to learn something from it.