Graphics operations#

PyAEDT enables powerful post-processing of AEDT results, allowing you to visualize graphics objects and plot data with ease.

PyAEDT supports external report capabilities available with installed third-party packages like pyvista, matplotlib, pandas, and numpy.

There have three main categories:

  • Three-dimensional visualization

  • Graph visualization

  • PDF

Three-dimensional visualization#

PyAEDT benefits of pyvista package and allows to generate models and 3D plots.

ModelPlotter

Manages the data to be plotted with pyvista.

FieldClass

Class to manage Field data to be plotted in pyvista.

ObjClass

Manages mesh files to be plotted in pyvista.

Graph visualization#

PyAEDT benefits of matplotlib package and allows to generate 2D plots.

ReportPlotter

Matplotlib Report manager.

is_notebook

Check if pyaedt is running in Jupyter or not.

PDF#

PyAEDT benefits of fpdf2 package and allows to generate PDF files.

AnsysReport.read_template

Reade pdf template.

AnsysReport.header

Header.

AnsysReport.footer

Footer.

AnsysReport.create

Create a new report using report_specs properties.

AnsysReport.add_project_info

Add project information.

AnsysReport.add_section

Add a new section to Pdf.

AnsysReport.add_chapter

Add a new chapter.

AnsysReport.add_sub_chapter

Add a new sub-chapter.

AnsysReport.add_image

Add a new image.

AnsysReport.add_caption

Add a new caption.

AnsysReport.add_empty_line

Add a new empty line.

AnsysReport.add_page_break

Add a new page break line.

AnsysReport.add_table

Add a new table from a list of data.

AnsysReport.add_text

Add a new text.

AnsysReport.add_toc

Add toc.

AnsysReport.save_pdf

Save pdf.

AnsysReport.add_chart

Add a chart to the report using matplotlib.