Gets the EnergyAnalysisDetailModel in given document.
Namespace: Autodesk.Revit.DB.AnalysisAssembly: 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
EnergyAnalysisDetailModel
Returns the EnergyAnalysisDetailModel contained in the document, if it exists. If it does not exist, this returns
null.
Exceptions
See Also
Reference