Report#
- class ansys.dynamicreporting.core.Report(service=None, report_name='default', report_obj=None)#
Provides for generating the
Reportobject for the database.- Parameters:
- service
ansys.dynamicreporting.core.Service,optional Ansys Dynamic Reporting object that provides the connection to the database. The default is
None.- report_name
str,optional Name of the report object in the database. The default is
default.- report_obj
str,optional TemplateREST object from low-level ADR API. Do not modify.
- service
Methods
Report.export_html([directory_name, ...])Export report as static HTML.
Report.export_json(json_file_path)Export this report to a JSON-formatted file.
Report.export_pdf([file_name, query_params, ...])Export report as PDF.
Get the guid corresponding to the report.
Report.get_iframe([width, height, filter, ...])Get the iframe object corresponding to the report.
Report.get_report_component([prefix, ...])A HTML code of the web component for report fetching.
A block of JavaScript script to define the web component for report fetching.
Report.get_url([filter, item_filter])Get the URL corresponding to the report.
Report.visualize([new_tab, filter, item_filter])Render the report.