animate_fields_from_aedtplt

PostProcessor.animate_fields_from_aedtplt(plotname, plot_folder=None, meshplot=False, variation_variable='Phi', variation_list=['0deg'], project_path='', export_gif=False, show=True)[source]

Generate a field plot to an image file (JPG or PNG) using PyVista.

Note

The PyVista module rebuilds the mesh and the overlap fields on the mesh.

Parameters
plotnamestr

Name of the plot or the name of the object.

plot_folderstr, optional

Name of the folder in which the plot resides. The default is None.

variation_variablestr, optional

Variable to vary. The default is "Phi".

variation_listlist, optional

List of variation values with units. The default is ["0deg"].

project_pathstr, optional

Path for the export. The default is "" which export file in working_directory.

meshplotbool, optional

The default is False. Valid from Version 2021.2.

export_gifbool, optional
The default is False.

show=False,

showbool, optional

Generate the animation without showing an interactive plot. The default is True.

Returns
pyaedt.modules.AdvancedPostProcessing.ModelPlotter

Model Object.