create_fieldplot_layers_nets#
- PostProcessor3D.create_fieldplot_layers_nets(layers_nets: list, quantity: str, setup: str = None, intrinsics: dict = None, plot_on_surface: bool = True, plot_name: str = None) FieldPlot #
Create a field plot of stacked layer plot on specified matrix of layers and nets. This plot is valid from AEDT 2023 R2 and later in HFSS 3D Layout and any modeler where a layout component is used.
- Parameters:
- layers_nets
list
List of layers and nets to plot. For example:
[["Layer1", "GND", "PWR"], ["Layer2", "VCC"], ...]
. If"no-layer"
is provided as first argument, all layers are considered. If"no-net"
is provided or the list contains only layer name, all the nets are automatically considered.- quantity
str
Name of the quantity to plot.
- setup
str
,optional
Name of the setup. The default is
None
, in which case thenominal_adaptive
setup is used. Make sure to build a setup string in the form of"SetupName : SetupSweep"
, whereSetupSweep
is the sweep name to use in the export orLastAdaptive
.- intrinsics
dict
,str
,optional
Intrinsic variables required to compute the field before the export. These are typically: frequency, time and phase. It can be provided either as a dictionary or as a string. If it is a dictionary, keys depend on the solution type and can be expressed in lower or camel case as:
"Freq"
or"Frequency"
."Time"
."Phase"
.
If it is a string, it can either be
"Freq"
or"Time"
depending on the solution type. The default isNone
in which case the intrinsics value is automatically computed based on the setup.- plot_on_surfacebool,
optional
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.
- layers_nets
- Returns:
- :class:
ansys.aedt.core.modules.solutions.FieldPlot
Plot object.
- :class:
References
>>> oModule.CreateFieldPlot