Creates a new boundary line as an Area border.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# |
|---|
public ModelCurve NewAreaBoundaryLine( SketchPlane sketchPlane, Curve geometryCurve, ViewPlan areaView ) |
| Visual Basic |
|---|
Public Function NewAreaBoundaryLine ( _ sketchPlane As SketchPlane, _ geometryCurve As Curve, _ areaView As ViewPlan _ ) As ModelCurve |
| Visual C++ |
|---|
public: ModelCurve^ NewAreaBoundaryLine( SketchPlane^ sketchPlane, Curve^ geometryCurve, ViewPlan^ areaView ) |
Parameters
- sketchPlane
- Type: Autodesk.Revit.DB..::..SketchPlane
The sketch plane.
- geometryCurve
- Type: Autodesk.Revit.DB..::..Curve
The geometry curve on which the boundary line are
- areaView
- Type: Autodesk.Revit.DB..::..ViewPlan
The View for the new Area
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | Thrown if the sketch plane does not exist in the given document. |
| Autodesk.Revit.Exceptions..::..ArgumentException | Thrown if the area view does not exist in the given document. |