How do I get FamilyType from FamilyInstance?

I could get Family instance from Caregory, Family and Family type etc… but Can I get Family type from Family Instance? what I want to do is getting family type that 1:1 matching with family instance

Hi @jh.lee5YTTX something here maybe ,

1 Like

HI Sir, Thank you.
I was tried it, but I want to get it on same sequence.
what I mean is… if insert the list like [famA-1, famA-2, famB-1]
than return is like [famA, famB]
but I want to it make [famA, famA, famB]

my explanation is bad sorry…
bad English + bad dynamo knowledge

no worries :wink: but im not really sure what you mean…

FamilyInstace.GetFamily
[Family : Lindab BU, Family: LindabTVU45, Family: Lindab XVU45]

but if “Family: Lindab BU” have 2 types, than result is like below


Family.Type
|
| 0List
| |0 Family Type: BU, …
| |1 Family Type: BU2, …
|
| 1List
| |0 Family Type: TVU45, …
|
| 2List
| |0 Family Type: XVU45, …

so than I can’t match with same type becuase
firstList[1] = Family: Lindab TVU45 1104033 :point_left: it have to match with “Family Type: TVU45”
secondList[1] = Family Type: BU2, …

I can’t give you screenshot by company policy… so I texted seems like nodes. thank you

That is why you use the other node: Element.ElementType