Create(Document) Method


Energy Analysis Detail Model Create(Document) Method

Creates a new energy analysis detailed model.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static EnergyAnalysisDetailModel Create(
	Document document
)

Parameters

document Document
The document that contains the physical model of the building.

Return Value

EnergyAnalysisDetailModel
The created model instance.
Exceptions
Exception Condition
ArgumentException Throws if there are no valid spatial bounding elements, or no valid spatial elements in the document.
ArgumentNullException A non-optional argument was null
InvalidOperationException Failed to create the energy analysis detail model.
OperationCanceledException Throws if user aborted the energy analysis detail model creation.
Remarks
The generated energy model is always returned in world coordinates. The method TransformModel() transforms all surfaces in the model according to ground plane, shared coordinates and true north.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →