Get Type Name as a simple string

Hello,
I’m trying to write a simple graph to extract count information. I need the family type names, and the counts in a list. So I’ve got the following graph:

It works fine, but instead of Element.Type giving me “F1” or “H1” which is the type name, it’s giving me this whole string with “Family Type: F1, Family Name: Surface Linear” etc. I could write a string handling function to extract the part of that I need (“F1”) but I feel like I should be able to get the type as a standalone string?

I also tried using Element.GetParameterByName but that generated the same verbose string.

Thanks!

Try this:

1 Like

That works perfectly, thank you!