Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can I access the name of family type used for any instance? I have a family of window named as "Fixed_1X" which further has family types as shown in below snap.
How can I access name of the family type for any family instance. I want to retrieve a string "Window_Fixed 2850" for this example. Any suggestions @jeremytammik @naveen.kumar.t @RPTHOMAS108 @architect.bim ?
I'm getting name of the FamilySymbol (Fixed_1X) using below syntax.
string symbolName = (element as FamilyInstance).Symbol.Name;
When I try below syntax familyTypeName returns "FamilySymbol".
string familyTypeName = (defaultWindow as FamilyInstance).Symbol.GetType().Name;
Solved! Go to Solution.