Gets the BuildingOperatingDaySchedule for this day of the year.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public BuildingOperatingDaySchedule GetScheduleForDay( DateTime day )
Parameters
- day DateTime
- The day of the year. The value must be in 2023 (the template year) and have the time zone set to gmt/utc. Time values will be ignored.
Return Value
BuildingOperatingDayScheduleThe schedule used on that day.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | day must be in the year 2023. |