RVTDocs.com

ScheduleDefinition.AddEmbeddedSchedule

Method
Description:
Adds an embedded ScheduleDefinition.
Syntax
public void AddEmbeddedSchedule(
	ElementId categoryId
)
Parameters
Parameter Type Description
categoryId ElementId The category ID of elements to display in the embedded schedule.
Return Value
Exceptions
Exception Condition
ArgumentException categoryId is not the ID of a category that can be used for an embedded ScheduleDefinition in this ScheduleDefinition.
ArgumentNullException A non-optional argument was null
InvalidOperationException This ScheduleDefinition is not a kind of schedule that supports adding an embedded ScheduleDefinition. -or- This ScheduleDefinition already has an embedded ScheduleDefinition.