Creates a new area
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public Area NewArea( ViewPlan areaView, UV point )
Parameters
- areaView ViewPlan
- The view of area element.
- point UV
- The point which lies in the enclosed region of AreaBoundaryLines to put the new created Area
Return Value
AreaExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the area view does not exist in the given document. |