ReportService
Canonical path: NemAll_Python_BaseElements.ReportService
Methods:
-
ExportDrawingFileReport–Export a drawing file(s) report
-
ExportLayoutFileReport–Export a layout file report
-
ShowReportDialog–Show the report dialog
ExportDrawingFileReport
staticmethod
ExportDrawingFileReport(
doc: DocumentAdapter,
reportName: str,
outputFile: str,
drawingFiles: list[int] | VecIntList,
)
Export a drawing file(s) report
Parameters:
-
doc(DocumentAdapter) –Document
-
reportName(str) –Report name with full path
-
outputFile(str) –Output file name with the format defined by the extension pdf, xlsx or docx
-
drawingFiles(list[int] | VecIntList) –Drawing files for the report
ExportLayoutFileReport
staticmethod
ExportLayoutFileReport(
doc: DocumentAdapter, reportName: str, outputFile: str, layoutFile: int
)
Export a layout file report
Parameters:
-
doc(DocumentAdapter) –Document
-
reportName(str) –Report name with full path
-
outputFile(str) –Output file name with the format defined by the extension pdf, xlsx or docx
-
layoutFile(int) –Layout file for the report
ShowReportDialog
staticmethod
ShowReportDialog(doc: DocumentAdapter, initialReportPath: str) -> str
Show the report dialog
Parameters:
-
doc(DocumentAdapter) –Document
-
initialReportPath(str) –Initial report
Returns:
-
str–Selected report
Placeholder