Nov 3, 2023
Select Multiple Types: in View/Model
Have you ever tried selecting a few elements with different types, clicking on your favorite shortcut SS/SA to select all and saw nothing happened? Well, here is your dream tool in Python.
First things first:
If you are new to pyRevit there are a few steps you have to do in order to create your new favorite button.
You need to install pyRevit extension - this will allow you to create add-ins in Revit with python scripts.
Then it would be good to create your own extension tab.
Let me know if something is not clear and I will try to make it easier for newcomers to pyRevit world.
So here you will find the code that will create a custom add-in with pyRevit. You can switch between 2 tabs.
After you will create your buttons it's recommended to replace your old shortcuts for SS/SA to these new buttons. They are pretty good in terms of performance and I have not noticed any difference since I replaced them, and they can select more elements than standard ones.