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 =\