RVTDocs.com

HostObjectUtils.GetSideFaces

Method
Description:
Returns the major side faces for this host object.
Remarks:
This utility supports host objects whose CompoundStructure is nominally oriented vertically. It outputs faces which are at the boundary of the CompoundStructure (such as Walls and FaceWalls).
Syntax
public static IList<Reference> GetSideFaces(
	HostObject hostObject,
	ShellLayerType side
)
Parameters
Parameter Type Description
hostObject HostObject The host object.
side ShellLayerType The side of the host object.
Return Value
Type Description
IList An array of references to the faces which are on the given side of this element.
Exceptions
Exception Condition
ArgumentException This host object does not support access to side faces.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration