plot#

Hfss.plot(objects=None, show=True, export_path=None, plot_as_separate_objects=True, plot_air_objects=True, force_opacity_value=None, clean_files=False, view='isometric', show_legend=True, dark_mode=False, show_grid=False, show_bounding=False)[source]#

Plot the model or a subset of objects.

Parameters:
objectslist, optional

List of objects to plot. The default is None, in which case all objects are exported.

showbool, optional

Whether to show the plot after generation. The default is True. If False, the generated class is returned for more customization before plot generation.

export_pathstr, optional

If available, an image is saved to file. If None no image will be saved.

plot_as_separate_objectsbool, optional

Whether to plot each object separately. The default is True, which may require more time to export from AEDT.

plot_air_objectsbool, optional

Whether to also plot air and vacuum objects. The default is True.

force_opacity_valuefloat, optional

Opacity value between 0 and 1 to applied to all of the model. The default is None, which means the AEDT opacity is applied to each object.

clean_filesbool, optional

Whether to clean created files after plot generation. The default is False, which means that the cache is maintained in the model object that is returned.

viewstr, optional

View to export. Options are "isometric", "xy", "xz", "yz". The default is "isometric".

show_legendbool, optional

Whether to display the legend or not. The default is True.

dark_modebool, optional

Whether to display the model in dark mode or not. The default is False.

show_gridbool, optional

Whether to display the axes grid or not. The default is False.

show_boundingbool, optional

Whether to display the axes bounding box or not. The default is False.

Returns:
pyaedt.generic.plot.ModelPlotter

Model Object.