SetBoundary Method


Property Line Set Boundary Method

Set a given curve loops as the boundary of the current PropertyLine element.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void SetBoundary(
	IList<CurveLoop> curveLoops
)

Parameters

curveLoops IList CurveLoop
A collection of curve loops to be added.
Exceptions
Exception Condition
ArgumentException The input curve loops cannot compose a valid boundary, that means: no curve loop is contained in the given collection; these curve loops intersect with each other for some of them; or each curve loop is not planar; or each curve loop is not in a plane parallel to the horizontal(XY) plane.
ArgumentNullException A non-optional argument was null
InvalidOperationException Failed to create the Sketch for the boundary of current PropertyLine element.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →