Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 67020

'PanelScheduleSheetInstance' object has no attribute 'Export'

$
0
0

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!

 


Viewing all articles
Browse latest Browse all 67020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>