I tried to export a 3D representation of my results (ANSYS v252) with ansys-dynamicreporting-core (0.10.1).
`import ansys.dynamicreporting.core as adr
ansys_loc = r"C:\Program Files\ANSYS Inc\v252"
db_dir = r"D:\Recent\ReportingTest"
adr_service = adr.Service(ansys_installation=ansys_loc, db_directory=db_dir)
session_guid = adr_service.start(create_db=True)
my_text = adr_service.create_item(obj_name='Text')
my_text.item_text = "Analysis Title. This is the first of many items"
my_scene = adr_service.create_item(obj_name='3D Scene')
my_scene.item_scene = r'D:\Recent\PS1_SST_CoreTemp.avz'
server = adr_service.serverobj
template_001 = server.create_template(name="Example_Template", parent=None, report_type="Layout:basic")
server.put_objects(template_001)
my_report = adr_service.get_report("Example_Template")
succ = my_report.export_html(directory_name = r'D:\Temp\test')
succ = my_report.export_pdf(file_name=r'D:\Temp\myreport.pdf')
adr_service.visualize_report(new_tab=True)
my_report.visualize(new_tab=True)
`
I can "visualize" my Report without problems both times in Firefox (144.0 (64-Bit)).
When I export_html() and open it in Firefox only the text is shown correctly, but in Edge I get the additional empty(!) grey box for 3D visualization. In v251 I could visualize the saved file at least in Edge.
Why can Firefox display the "visualize" but not load the "export_html" result?
When I try to export_pdf() I see only text and a placeholder graphic, but again no 3D data.
Both times succ==True though.
What am I missing?
Best regards
Jörn