I'm trying to export via Python the Electrical Panels Schedules, and I get this error:
'PanelScheduleSheetInstance' object has no attribute 'Export'
I collect all Panel Schedules using:
MY_SCHEDULES = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_PanelScheduleGraphics).ToElements()
which gets all the Panel Schedules.
I define the export options:
schedules_options = ViewScheduleExportOptions()
and folder location:
folder = (r'D:\my_folder')
but when I run:
EXPORT_SCHEDULES = [i.Export(folder, i.Name, schedules_options) for i in MY_SCHEDULES]
I get the error
'PanelScheduleSheetInstance' object has no attribute 'Export'
Thanks for help!