EnergyAnalysisDetailModel.GetMainEnergyAnalysisDetailModel
Method
Description:
Gets the EnergyAnalysisDetailModel in given document.
Gets the EnergyAnalysisDetailModel in given document.
Syntax
public static EnergyAnalysisDetailModel GetMainEnergyAnalysisDetailModel(
Document document
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document that contains the physical model of the building. |
Return Value
Type | Description |
---|---|
EnergyAnalysisDetailModel | Returns the EnergyAnalysisDetailModel contained in the document, if it exists. If it does not exist, this returns . |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |