Creates a new boundary line as an Room border.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
C# |
---|
public ModelCurveArray NewRoomBoundaryLines( SketchPlane sketchPlane, CurveArray curves, View view ) |
Visual Basic |
---|
Public Function NewRoomBoundaryLines ( _ sketchPlane As SketchPlane, _ curves As CurveArray, _ view As View _ ) As ModelCurveArray |
Visual C++ |
---|
public: ModelCurveArray^ NewRoomBoundaryLines( SketchPlane^ sketchPlane, CurveArray^ curves, View^ view ) |
Parameters
- sketchPlane
- Type: Autodesk.Revit.DB..::..SketchPlane
The sketch plan
- curves
- Type: Autodesk.Revit.DB..::..CurveArray
The geometry curves on which the boundary lines are
- view
- Type: Autodesk.Revit.DB..::..View
The View for the new Room
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 view does not exist in the given document. |