Gets the EnergyAnalysisDetailModel in given document.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static EnergyAnalysisDetailModel GetMainEnergyAnalysisDetailModel( Document document )
Parameters
- document Document
- The document that contains the physical model of the building.
Return Value
EnergyAnalysisDetailModelReturns the EnergyAnalysisDetailModel contained in the document, if it exists. If it does not exist, this returns null.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
