Creates a new area

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)

Syntax

C#
public Area NewArea(
	ViewPlan areaView,
	UV point
)
Visual Basic
Public Function NewArea ( _
	areaView As ViewPlan, _
	point As UV _
) As Area
Visual C++
public:
Area^ NewArea(
	ViewPlan^ areaView, 
	UV^ point
)

Parameters

areaView
Type: Autodesk.Revit.DB..::..ViewPlan
The view of area element.
point
Type: Autodesk.Revit.DB..::..UV
The point which lies in the enclosed region of AreaBoundaryLines to put the new created Area

Exceptions

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentExceptionThrown if the area view does not exist in the given document.

See Also