I am trying to write a measure that allows me to set the HVAC availability schedule for an air loop. Is there any easy way to clear all of the existing rules for a schedule and then assign new ones? From the documentation it doesn't appear that there is a method in the ScheduleRuleSet class to clear rules or to assign new schedule rules. Has anyone figured out a good way to accomplish these two tasks?
Any insights are very appreciated