plot_model_obj#

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

Plot the model or a substet of objects.

Parameters:
objectslist, optional

Optional list of objects to plot. If None all objects will be exported.

showbool, optional

Show the plot after generation or simply return the generated Class for more customization before plot.

export_pathstr, optional

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

plot_as_separate_objectsbool, optional

Plot each object separately. It may require more time to export from AEDT.

plot_air_objectsbool, optional

Plot also air and vacuum objects.

force_opacity_valuefloat, optional

Opacity value between 0 and 1 to be applied to all model. If None aedt opacity will be applied to each object.

clean_filesbool, optional

Clean created files after plot. Cache is mainteined into the model object returned.

array_coordinateslist of list

List of array element centers. The modeler objects will be duplicated and translated. List of [[x1,y1,z1], [x2,y2,z2]…].

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.