I’d like to be able to retrieve certain nested (generic model) family’s from family’s in a linked file.
So far iam able to search the element that contains the nested family’s iam looking for.
However i can’t find a node or any other way arround to get to the nested family’s other then on family instance.
Doing this on family instance is not preferable as there are many different family instances i’d like to get the same nested family from.
It expects Family Instance but was called with Revit.LinkElement.
It might be possible to get family instances out of the elements but i dont know how.
And even if i get that to work i’d preferably like to get all nested family’s from the revit linked elements.
This solved my problem, thank you very much !
The next step is placing family’s based on the position of the nested family’s but thats for a different topic i suppose