Sets the BuildingOperatingDaySchedule for this day of the year.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public void SetScheduleForDay( DateTime day, BuildingOperatingDaySchedule daySchedule )
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.
- daySchedule BuildingOperatingDaySchedule
- The schedule used on that day.
Exceptions
Exception | Condition |
---|---|
ArgumentException | daySchedule must be in the same document. |
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | day must be in the year 2023. |