Revit 2025 API
Family |
Property to get the reference to the host face of family instance.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Reference HostFace { get; }
Public ReadOnly Property HostFace As Reference Get
public: property Reference^ HostFace { Reference^ get (); }
member HostFace : Reference with 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 . If the instance is not hosted on a face or work plane, this property will return .
See Also