Skip to content

Commit

Permalink
added new method create_fieldplot_nets
Browse files Browse the repository at this point in the history
added the possibilty to pass custom lists to create_fieldplot_layers_nets (only nets or only layers)
  • Loading branch information
maxcapodi78 authored and maxcapodi78 committed Oct 28, 2024
1 parent 8c41d08 commit 02e6d3e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/ansys/aedt/core/visualization/post/post_common_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -1431,6 +1431,9 @@ def create_fieldplot_layers(
use in the export or ``LastAdaptive``.
nets : list, optional
List of nets to filter the field plot. Optional.
plot_on_surface : bool, optional
Whether if the plot has to be on surfaces or inside the objects.
It is applicable only to layout components. Default is ``True``.
intrinsics : dict, str, optional
Intrinsic variables required to compute the field before the export.
These are typically: frequency, time and phase.
Expand Down Expand Up @@ -1538,6 +1541,9 @@ def create_fieldplot_nets(
If it is a string, it can either be ``"Freq"`` or ``"Time"`` depending on the solution type.
The default is ``None`` in which case the intrinsics value is automatically computed based on the setup.
plot_on_surface : bool, optional
Whether if the plot has to be on surfaces or inside the objects.
It is applicable only to layout components. Default is ``True``.
name : str, optional
Name of the field plot to create.
Expand Down Expand Up @@ -1611,7 +1617,8 @@ def create_fieldplot_layers_nets(
If it is a string, it can either be ``"Freq"`` or ``"Time"`` depending on the solution type.
The default is ``None`` in which case the intrinsics value is automatically computed based on the setup.
plot_on_surface : bool, optional
Whether the plot is to be on the surface or volume of traces.
Whether if the plot has to be on surfaces or inside the objects.
It is applicable only to layout components. Default is ``True``.
plot_name : str, optional
Name of the field plot to create.
Expand Down

0 comments on commit 02e6d3e

Please sign in to comment.