get_url#
- Report.get_url(filter: str = '', item_filter: str = '') str#
Get the URL corresponding to the report.
- Parameters:
- filter
str,optional DEPRECATED. Use item_filter instead. Query string for filtering. The default is
"". The syntax corresponds to the syntax for Ansys Dynamic Reporting. For more information, see _Query Expressions in the documentation for Ansys Dynamic Reporting.- item_filter
str,optional Query string for filtering. The default is
"". The syntax corresponds to the syntax for Ansys Dynamic Reporting. For more information, see _Query Expressions in the documentation for Ansys Dynamic Reporting.
- filter
- Returns:
strURL corresponding to the report. If no URL exists, an empty string is returned.
Examples
import ansys.dynamicreporting.core as adr adr_service = adr.Service(ansys_installation = r'C:\Program Files\ANSYS Inc\v232') ret = adr_service.connect() my_report = adr_service.get_report(report_name = 'Top report') report_url = my_report.get_url()