RVTDocs.com

ExporterIFCUtils.GetRoomBoundaryAsCurveLoopArray

Method
Description:
Obtains the spatial element boundary curves as an array of CurveLoops, needed for processing into IFC-specific elements later.
Syntax
public static IList<CurveLoop> GetRoomBoundaryAsCurveLoopArray(
	SpatialElement spatialElement,
	SpatialElementBoundaryOptions options,
	bool cleanCurves
)
Parameters
Parameter Type Description
spatialElement SpatialElement The spatial element.
options SpatialElementBoundaryOptions The options for extraction of the boundaries.
cleanCurves Boolean If true, curves will be trimmed to meet their neighbors. If false, no trimming will take place.
Return Value
Type Description
IList The list of CurveLoops, which could be empty if the routine is unable to get the boundary curve loops.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InvalidOperationException Throws an exception if any of the boundary loops are invalid or degenerate.