HostObjectUtils.GetTopFaces
Public Class
ArgumentException
ArgumentNullException
Returns the top faces for this host object.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
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
Exception
Condition
ArgumentException
This host object does not support access to top or bottom faces.
ArgumentNullException
A non-optional argument was null
Remarks
This utility supports host objects whose top faces represent one of the boundaries of CompoundStructure (such as roofs, floors or ceilings).