RVTDocs.com

CurveByPointsUtils.GetHostFace

Method
Description:
Gets the host face to which the CurveElement is added.
Syntax
public static Reference GetHostFace(
	CurveElement curveElem
)
Parameters
Parameter Type Description
curveElem CurveElement The CurveElement.
Return Value
Type Description
Reference The host face to which the CurveElement is added, or an empty Reference if the host is not a face.
Exceptions
Exception Condition
ArgumentException The input CurveElement is not a CurveByPoints.
ArgumentNullException A non-optional argument was null