Property to get the reference to the host face of family instance.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public Reference HostFace { get; }
Property Value
ReferenceIf the instance is placed on a work plane, this property will return the reference to the geometry face underlying the work plane. If the work plane is not referencing other geometry, this property will return nullptr. If the instance is not hosted on a face or work plane, this property will return nullptr.