Scale3DSettings#
- class ansys.aedt.core.visualization.post.field_data.Scale3DSettings(scale_type='Auto', scale_settings=AutoScale(n_levels=10, limit_precision_digits=False, precision_digits=3, use_current_scale_for_animation=False), log=False, db=False, unit=None, number_format=NumberFormat(format_type=Automatic, width=4, precision=4))#
Provides methods and variables for editing scale folder settings.
- Parameters:
- scale_type
str
,optional
Scale type. Default is “Auto”.
- scale_settings
ansys.aedt.core.modules.post_general.AutoScale
, ansys.aedt.core.modules.post_general.MinMaxScale
oransys.aedt.core.modules.post_general.SpecifiedScale
, optionalScale settings. Default is AutoScale().
- logbool,
optional
Whether to use a log scale. Default is False.
- dbbool,
optional
Whether to use dB scale. Default is False.
- unit
int
,optional
Unit to use in the scale. Default is None.
- number_format
ansys.aedt.core.modules.post_general.NumberFormat
,optional
Number format settings. Default is NumberFormat().
- scale_type
Methods
Scale3DSettings.from_dict
(dictionary)Initialize the scale settings of the field plot settings from a dictionary.
Convert the scale settings to a dictionary.
Attributes
Get the current scale settings based on the scale type.
Get type of scale used for the field plot.
Get unit used in the plot.