LegendSettings#
- class ansys.mechanical.stubs.v261.Ansys.Mechanical.Graphics.Tools.LegendSettings(unit: str)#
Bases:
objectRepresents a LegendSettings object. This object holds properties of the Standalone LegendSettings.
Overview#
CopyTo method. |
|
Equals method. |
|
ExportLegend method. |
|
Gets the color of the specified band. |
|
Gets whether the specified band is set to Automatic or not. |
|
GetHashCode method. |
|
Gets whether the lower specified band value is set to Automatic or not. |
|
Gets lower bound value of the specified band. |
|
GetType method. |
|
Gets whether the specified upper band value is set to Automatic or not. |
|
Gets upper bound value of the specified band. |
|
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. |
|
SetLowerBandValueAuto method. |
|
Sets lower bound value of the specified band. |
|
SetMinMax method. |
|
SetUpperBandValueAuto method. |
|
Sets upper bound value of the specified band. |
|
ToString method. |
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. |
|
Max property. |
|
Min property. |
|
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. |
|
The unit for the legend. |
Property detail#
- property LegendSettings.AllScientificNotation: bool | None#
Whether the result values are displayed in scientific notation.
- property LegendSettings.ColorScheme: Ansys.Mechanical.DataModel.Enums.LegendColorSchemeType | None#
Color Scheme for the legend.
- property LegendSettings.HighFidelity: bool | None#
Whether to replot and improve the synchronization of the result values.
- property LegendSettings.LogarithmicScale: bool | None#
Whether the result values are distributed in a Logarithmic scale.
- property LegendSettings.Max: Ansys.Core.Units.Quantity | None#
Max property.
- property LegendSettings.Min: Ansys.Core.Units.Quantity | None#
Min property.
Method detail#
- LegendSettings.CopyTo(activeLegend: Ansys.Mechanical.Graphics.Tools.CurrentLegendSettings) None#
CopyTo method.
- LegendSettings.GetBandColorAuto(index: int) bool#
Gets whether the specified band is set to Automatic or not.
- LegendSettings.GetLowerBandValueAuto(index: int) bool#
Gets whether the lower specified band value is set to Automatic or not.
- LegendSettings.GetLowerBound(index: int) Ansys.Core.Units.Quantity#
Gets lower bound value of the specified band.
- LegendSettings.GetUpperBandValueAuto(index: int) bool#
Gets whether the specified upper band value is set to Automatic or not.
- LegendSettings.GetUpperBound(index: int) Ansys.Core.Units.Quantity#
Gets upper bound value of the specified band.
- LegendSettings.SetBandColor(index: int, colorValue: int) None#
Sets the color of the specified band.
- LegendSettings.SetLowerBound(index: int, value: Ansys.Core.Units.Quantity) None#
Sets lower bound value of the specified band.
- LegendSettings.SetMinMax(min: Ansys.Core.Units.Quantity, max: Ansys.Core.Units.Quantity) None#
SetMinMax method.
- LegendSettings.SetUpperBound(index: int, value: Ansys.Core.Units.Quantity) None#
Sets upper bound value of the specified band.