Create FamilyType of current Document (Family) inside RFA

Hi everyone.
I’ve tried to create new FamilyType inside family file, but there’s (as i understand) no any direct way to get current family as element, which i can use to get existed familytypes to duplicate them.

So, what i’ve tried to do.
It’s possible to get my family outside, in project, using simple way to find this family by All elements in active view.

I’ve tried this inside RVT and RFA and it works perfectly… for elements inside our current Document.

I’ve also tried to get my family by its’ category value, so it’s the same problem (only elements inside this Document).
p.s. i found that i can get all the types of current Document, it’s “FamilyDocument.Types” node, but there’s only String way to be output =(

So, as i believe, is there any something like get current Document as element, or other way?

Thank you. Hope this no any so stupid idea. I really want to do this problem in this way =\

Because of restriction on num of uploaded files i did it by comment to this topic.

Hi @gildraen if you mean in familydocument/manager you could try these here from mepover

1 Like

Thank you, @sovitek, for such a fast answer. Many kindness to you =)

Exactly.

Well, it works, so really thanks a lot for this option.
By the way, it there any way to do this with no third party packages? I mean, only with vanilla Dynamo nodes?

1 Like

yeah you could just open the node and see how @T_Pover have done it…no dont think there are ootb there can do it for now…and guess you can find similar in OpenMep package as well…written in Cs

1 Like

Just for more information, it included in OpenMEP package : Class FamilyManager | Open MEP

1 Like