Obtains the spatial element boundary curves as an array of CurveLoops, needed for processing into IFC-specific
elements later.
Namespace: Autodesk.Revit.DB.IFCAssembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static IList<CurveLoop> GetRoomBoundaryAsCurveLoopArray(
SpatialElement spatialElement,
SpatialElementBoundaryOptions options,
bool cleanCurves
)
Parameters
- 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
IList<CurveLoop>
The list of CurveLoops, which could be empty if the routine is unable to get the boundary curve loops.
Exceptions
See Also
Reference