RVTDocs.com
Namespace: Autodesk.Revit.Creation Class: Document

Document.NewAreas

Method
Description:
Creates new areas
Syntax
Parameters
Parameter Type Description
dataList List A list of AreaCreationData which wraps the creation arguments of the areas to be created.
Return Value
Type Description
ElementSet If successful an Element Set which contains the areas should be returned, otherwise the exception will be thrown.
Exceptions
Exception Condition
ArgumentNullException If AreaCreationData's areaPoint is.
InvalidOperationException If the area cannot be created successfully or the phase is invalid or regeneration fails at the end of the batch creation.