Revit 2026 API
DocumentNew |
Creates a new boundary line as an Room border.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ModelCurveArray NewRoomBoundaryLines( SketchPlane sketchPlane, CurveArray curves, View view )
Public Function NewRoomBoundaryLines ( sketchPlane As SketchPlane, curves As CurveArray, view As View ) As ModelCurveArray
public: ModelCurveArray^ NewRoomBoundaryLines( SketchPlane^ sketchPlane, CurveArray^ curves, View^ view )
member NewRoomBoundaryLines : sketchPlane : SketchPlane * curves : CurveArray * view : View -> ModelCurveArray
Parameters
- sketchPlane SketchPlane
- The sketch plan
- curves CurveArray
- The geometry curves on which the boundary lines are
- view View
- The View for the new Room
Return Value
ModelCurveArray| Exception | Condition |
|---|---|
| ArgumentException | Thrown if the sketch plane does not exist in the given document. |
| ArgumentException | Thrown if the view does not exist in the given document. |
See Also