In case when the only thing that you have is just a family name and base on that information you need to perform some action it is useful to know to which category that family belongs and element IDs.
I needed this script in order to speed up a setup for duct pressure loss report which is done by external software which is able to work with Revit data.
Please make sure that before you start using this script that you back up your existing project model.
Also, if you want to download this (and all other scripts) with my sample files please visit the Shop page.
The script uses the following Dynamo packages: Data-Shapes v.2022.2.96 MEPover v.2020.6.2 Sparrow v.2021.2.1