RVTDocs.com

HostObjectUtils.GetTopFaces

Method
Description:
Returns the top faces for this host object.
Remarks:
This utility supports host objects whose top faces represent one of the boundaries of CompoundStructure (such as roofs, floors or ceilings).
Syntax
public static IList<Reference> GetTopFaces(
	HostObject hostObject
)
Parameters
Parameter Type Description
hostObject HostObject The host object.
Return Value
Type Description
IList 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