Energy |
Gets the EnergyAnalysisDetailModel in given document.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
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 .
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |