Here is a similar script I wrote a while ago. It currently only works for a single selection set, but it can be easily adapted to account for a list of selection sets.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Is there a way to specify what Revit Selection Set to use for a script? | 7 | 979 | September 22, 2019 | |
| Select All Elements at Filter | 3 | 1118 | September 23, 2019 | |
| Export a list of elements as a Revit selection set | 6 | 256 | May 19, 2023 | |
| Get the current selected elements | 9 | 639 | July 10, 2023 | |
| Select Elements in REVIT by the IDs | 4 | 3055 | April 1, 2020 |