plot_rays#

HDMPlotter.plot_rays(snapshot_path: str = None) Plotter#

Plot Rays read from an hdm file.

Parameters:
snapshot_pathstr, optional

Full path to exported image file. If None the plot will be shown.

Returns:
pyvista.Plotter

Notes

This method is intended to be an example of the usage that can be made of hdm file.

Examples

>>> from ansys.aedt.core.visualization.advanced.hdm_plot import HDMPlotter
>>> obj = HDMPlotter()
>>> obj.plot_rays(snapshot_path="example.hdm")