I have now attempted to work this problem out myself and looked through the forum without any luck.
My problem is that I have a list of all categories from my Revit model. From that list, I want all elements of the categories. And from that, I want all the classification (custom parameter) parameters of the elements.
Anyone that can help me with this?
Try to see this post and the entire post in general.
First, I have to admit that the dynamo team have provided nodes that could do exactly what I tried to code in python, namely colleting all elements by a list by “Natural Category Name”.
Secondly, have I turned the code collecting elements that has materials into a node named as Element.HasMaterialQuantities". The node are now included in the “DanEDU Dynamo” package.
Home.dyn (6.4 KB)
I have built some graphs for this for the CCS classification, if you plan to do that
with smaller adjustments would BIM7A (SfB) or FK classification also be doable.
I can do classification of type, instance and location id
Here is a solution for your question
Home.dyn (18.8 KB)
The model used for this, is the “University Building.rvt” that can be found at
in the Example Collection (2017 and 2018 versions)