Creates a new boundary line as an Area border.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public ModelCurve NewAreaBoundaryLine( SketchPlane sketchPlane, Curve geometryCurve, ViewPlan areaView )
Parameters
- sketchPlane SketchPlane
- The sketch plane.
- geometryCurve Curve
- The geometry curve on which the boundary line are
- areaView ViewPlan
- The View for the new Area
Return Value
ModelCurveExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the sketch plane does not exist in the given document. |
ArgumentException | Thrown if the area view does not exist in the given document. |