dc_fields#
- Reports.dc_fields(expressions=None, setup=None, polyline=None)#
Create a DC Field Report object in Q3D.
- Parameters:
- expressions
str
orlist
Expression List to add into the report. The expression can be any of the available formula you can enter into the Electronics Desktop Report Editor.
- setup
str
,optional
Name of the setup. The default is
None
, in which case thenominal_adaptive
setup is used. Be sure to build a setup string in the form of"SetupName : SetupSweep"
, whereSetupSweep
is the sweep name to use in the export orLastAdaptive
.- polyline
str
,optional
Name of the polyline to plot the field on. If a name is not provided, the report might be incorrect. The default value is
None
.
- expressions
- Returns:
ansys.aedt.core.modules.report_templates.Fields
Examples
>>> from ansys.aedt.core import Q3d >>> q3d = Q3d(my_project) >>> report = q3d.post.reports_by_category.dc_fields("Mag_VolumeJdc", "Setup : LastAdaptive", "Polyline1") >>> report.create() >>> solutions = report.get_solution_data()