05-04-2023
08:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
05-04-2023
08:57 AM
I tested it on a few other drawings. Sometimes I have rows hidden in the parts list. They are counted in the "oPL.PartsListRows.Count" but then only the visible rows are exported to Excel. That particular parts list with hidden rows will be used again on the last sheet of the drawing for the total quantity of loose components so it should be exported with all rows (even hidden lines).
Is there are way to export all the rows from this line of code or perhaps change the "oPL.PartsListRows.Count" to count only the visible lines? Is there a "Visible" I could use in there?
oLongestPL.Export(excelName, PartsListFileFormatEnum.kMicrosoftExcel, options)