Get multiple paramters from different elements types

Hi,
Well, I improved a bit my script today and even if it took me time, I’m glad I succed for a part of my initial idea…

Collecting parameter: almost done :face_with_monocle:
Counting elements with same instances: Nothing :astonished:
Writing into the excel file: Done :smiley:

I get some issue, trying to collect the family name of my elements.
I managed to collect the Type only. Well, I was able to collect the family name but didn’t worked for pipes and ducts. I used this method:


(Family.Name and Element.Name return type names, not family names?)

Do you have any idea how could I get the family name for all my elements I want to?
image

At the end, I have my excel file but I would like to add a “counter” in order to group elements by same parameters. For example to have 4 duct elbow 300x200mm and not 4 lines with single units.
The best would be to do it directly Inside the dynamo scrip and not excel.

Hope some people could bring me help.

Here is my last script


Multi-category schedule using dynamo_V2.dyn (66.3 KB)