DocumentNewAreaBoundaryLine Method |
Creates a new boundary line as an Area border.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic ModelCurve NewAreaBoundaryLine(
SketchPlane sketchPlane,
Curve geometryCurve,
ViewPlan areaView
)
Public Function NewAreaBoundaryLine (
sketchPlane As SketchPlane,
geometryCurve As Curve,
areaView As ViewPlan
) As ModelCurve
public:
ModelCurve^ NewAreaBoundaryLine(
SketchPlane^ sketchPlane,
Curve^ geometryCurve,
ViewPlan^ areaView
)
member NewAreaBoundaryLine :
sketchPlane : SketchPlane *
geometryCurve : Curve *
areaView : ViewPlan -> ModelCurve
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
ModelCurve
ExceptionsException | 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. |
See Also