Exporting data from Revit
For the first script, we want to export the values of some parameters: Height, Width, Thickness, Description, Manufacturer, and Cost. Those are parameters of each door type that have an instance in the project. From now on, I will present images of each part of the script so that we can create the script together. Follow me as I create the script by searching, placing, connecting, and clicking Run for each new node added. If you feel more comfortable, please download the entire completed script from the following link: https://github.com/PacktPublishing/Managing-and-Visualizing-Your-BIM-Data/tree/main/Chapter05.
In the first part of the script, what we want to do is collect all the door instances within our project and make a list of each of their types. We can do so by placing the nodes as shown in the following screenshot:
We start with...