CurrentLegendSettings
#
- class ansys.mechanical.stubs.v242.Ansys.Mechanical.Graphics.Tools.CurrentLegendSettings#
Bases:
object
Represents a CurrentLegendSettings object. This object holds properties of the CurrentLegendSettings.
Overview#
Gets the color of the specified band. |
|
Gets whether the specified band is set to Automatic or not. |
|
Gets whether the specified lower band value is set to Automatic or not. |
|
Gets lower bound value of the specified band. |
|
Gets whether the specified upper band value is set to Automatic or not. |
|
Gets upper bound value of the specified band. |
|
Makes a copy of the CurrentLegendSettings object. |
|
Resets all legend customizations into default values. |
|
Resets all colors to default values. |
|
Sets the color of the specified band. |
|
Sets the specified band to Automatic. |
|
Sets lower bound value of the specified band. |
|
Sets upper bound value of the specified band. |
Whether the result values are displayed in scientific notation. |
|
Color Scheme for the legend. |
|
Number of significant digits(min:2, max:8). |
|
Whether to replot and improve the synchronization of the result values. |
|
Whether the result values are distributed in a Logarithmic scale. |
|
Number of bands on the legend (min:3, max:30). Bands are added/removed from the top of the legend. |
|
Whether the legend is semi-transparent. |
Property detail#
- property CurrentLegendSettings.AllScientificNotation: bool | None#
Whether the result values are displayed in scientific notation.
- property CurrentLegendSettings.ColorScheme: Ansys.Mechanical.DataModel.Enums.LegendColorSchemeType | None#
Color Scheme for the legend.
- property CurrentLegendSettings.HighFidelity: bool | None#
Whether to replot and improve the synchronization of the result values.
- property CurrentLegendSettings.LogarithmicScale: bool | None#
Whether the result values are distributed in a Logarithmic scale.
Method detail#
- CurrentLegendSettings.GetBandColorAuto(index: int) bool #
Gets whether the specified band is set to Automatic or not.
- CurrentLegendSettings.GetLowerBandValueAuto(index: int) bool #
Gets whether the specified lower band value is set to Automatic or not.
- CurrentLegendSettings.GetLowerBound(index: int) Ansys.Core.Units.Quantity #
Gets lower bound value of the specified band.
- CurrentLegendSettings.GetUpperBandValueAuto(index: int) bool #
Gets whether the specified upper band value is set to Automatic or not.
- CurrentLegendSettings.GetUpperBound(index: int) Ansys.Core.Units.Quantity #
Gets upper bound value of the specified band.
- CurrentLegendSettings.MakeCopy() Ansys.Mechanical.Graphics.Tools.LegendSettings #
Makes a copy of the CurrentLegendSettings object.
- CurrentLegendSettings.SetBandColor(index: int, ColorValue: int) None #
Sets the color of the specified band.
- CurrentLegendSettings.SetBandColorAuto(index: int, val: bool) None #
Sets the specified band to Automatic.
- CurrentLegendSettings.SetLowerBound(index: int, value: Ansys.Core.Units.Quantity) None #
Sets lower bound value of the specified band.
- CurrentLegendSettings.SetUpperBound(index: int, value: Ansys.Core.Units.Quantity) None #
Sets upper bound value of the specified band.