Find Family "Source" Element of a given Element
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I've been looking for a solution to this particular problem for two days now, but I can't figure it out.
I'm afraid that the reason might be an incomplete understanding of how Objects in Revit are organized. Therefore, it might be that my description of the problem is clumsy and my nomenclature is wrong.
I'll describe the problem as good as I can.
It's about Parameters in nested families.
I have a family A. It contains 4 instances of another Family B. Each of these 4 instances, let's call them B1-B4, has different parameter settings.
One instance of A is in my Revit document.
I have the ElementId of an Element. It is of B type. I can read the Parameters off this element, but I cannot set them (as I need to), because they are Read-Only.
Apparently, these Parameter values get forwarded from one of the B1-B4 objects.
How can I find out from which one?
In other words, how do I get the Element which a given Element inherits its Parameters from (because it's an instance of it)?
Thanks,
Aminius