WeatherFile Property


Systems Analysis Options Weather File Property

The file name of the EnergyPlus weather (*.epw).

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public string WeatherFile { get; set; }

Property Value

String
Exceptions
Exception Condition
ArgumentException When setting this property: The analysis requires a valid EnergyPlus weather (.epw) file.
ArgumentNullException When setting this property: A non-optional argument was null
Remarks
When requesting a new system analysis, it is okay to have an empty weather file in the SystemsAnalysisOption. In that case, the ViewSystemsAnalysisReport would use the weather file at the current site location.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →