Get Host Element in Linked File From Face Based Family
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Fam,
I was wondering if there was any way to get the Host element (from linked model) from the hosted face based family (in the active model)? The FamilyInstance.Host class seems to return an element of type "RevitLinkType" which is not what I am looking for. Say the host was a linked door, I've tried comparing the FamilyInstance.Host.Id to the element Id of all linked doors and none match. Getting the BuiltInParameter.HOST_ID_PARAM also returns nothing helpful. How can one get the specific host element from the RevitLinkType or even some workaround besides devising some containment test to check? Thank you!