Multi-Category Schedule

id = ElementId.InvalidElementId
newSchedule = ViewSchedule.CreateSchedule(doc,id)

There are some good threads with topics on how to start learning Python. (I’d start here.) But that code is basically it. Using the Revit API you can create schedules with the id of the category you want. For multi-category schedules you use the InvalidElementId. After you’ve created the schedule you can name it and set other properties.

1 Like