Returns the top faces for this host object.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static IList<Reference> GetTopFaces(
HostObject hostObject
)
Parameters
- hostObject HostObject
-
The host object.
Return Value
IList<Reference>
An array of references to the faces which are at the top of this element.
Exceptions
Remarks
This utility supports host objects whose top faces represent one of the boundaries
of CompoundStructure (such as roofs, floors or ceilings).
See Also
Reference