Revit.Dynamo.Python.CPython3 Schedules on sheets
Python for placed schedules on sheets - returns Schedule Name Sheet Name Sheet Number Schedule name for schedules not placed on sheets #!python3 ##Code pre-directive untested! ##Apsis0215 R Allen 2022-09-28 CPy3 import clr clr . AddReference ( "RevitServices" ) from RevitServices . Persistence import DocumentManager doc = DocumentManager . Instance . CurrentDBDocument ##Current Document import Revit from Autodesk . Revit . DB import FilteredElementCollector , ScheduleSheetInstance , ViewSchedule PlacedSchedules = FilteredElementCollector ( doc ). OfClass ( ScheduleSheetInstance ). WhereElementIsNotElementType (). ToElements () PlacedSchedulesName = [ PSS . Name for PSS in PlacedSchedules ] PlacedSchedulesID =[ VID . ScheduleId for VID in PlacedSchedules ] AllSchedules = FilteredElementCollector ( doc ). OfClass ( ViewSchedule ). WhereElementIsNotElementType (). ToElements () AllSchedulesID =[ VID . Id for VI...