.. vale off :class:`CurrentLegendSettings` ============================== .. py:class:: ansys.mechanical.stubs.v242.Ansys.Mechanical.Graphics.Tools.CurrentLegendSettings Bases: :py:obj:`object` Represents a CurrentLegendSettings object. This object holds properties of the CurrentLegendSettings. .. !! processed by numpydoc !! .. py:currentmodule:: CurrentLegendSettings Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~GetBandColor` - Gets the color of the specified band. * - :py:attr:`~SetBandColor` - Sets the color of the specified band. * - :py:attr:`~GetLowerBound` - Gets lower bound value of the specified band. * - :py:attr:`~SetLowerBound` - Sets lower bound value of the specified band. * - :py:attr:`~GetUpperBound` - Gets upper bound value of the specified band. * - :py:attr:`~SetUpperBound` - Sets upper bound value of the specified band. * - :py:attr:`~GetBandColorAuto` - Gets whether the specified band is set to Automatic or not. * - :py:attr:`~SetBandColorAuto` - Sets the specified band to Automatic. * - :py:attr:`~GetUpperBandValueAuto` - Gets whether the specified upper band value is set to Automatic or not. * - :py:attr:`~GetLowerBandValueAuto` - Gets whether the specified lower band value is set to Automatic or not. * - :py:attr:`~ResetColors` - Resets all colors to default values. * - :py:attr:`~Reset` - Resets all legend customizations into default values. * - :py:attr:`~MakeCopy` - Makes a copy of the CurrentLegendSettings object. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~NumberOfBands` - Number of bands on the legend (min:3, max:30). Bands are added/removed from the top of the legend. * - :py:attr:`~AllScientificNotation` - Whether the result values are displayed in scientific notation. * - :py:attr:`~Digits` - Number of significant digits(min:2, max:8). * - :py:attr:`~ColorScheme` - Color Scheme for the legend. * - :py:attr:`~SemiTransparency` - Whether the legend is semi-transparent. * - :py:attr:`~LogarithmicScale` - Whether the result values are distributed in a Logarithmic scale. * - :py:attr:`~HighFidelity` - Whether to replot and improve the synchronization of the result values. Property detail --------------- .. py:property:: NumberOfBands :no-index: :type: Optional[System.Int32] Number of bands on the legend (min:3, max:30). Bands are added/removed from the top of the legend. .. !! processed by numpydoc !! .. py:property:: AllScientificNotation :no-index: :type: Optional[System.Boolean] Whether the result values are displayed in scientific notation. .. !! processed by numpydoc !! .. py:property:: Digits :no-index: :type: Optional[System.Int32] Number of significant digits(min:2, max:8). .. !! processed by numpydoc !! .. py:property:: ColorScheme :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.LegendColorSchemeType] Color Scheme for the legend. .. !! processed by numpydoc !! .. py:property:: SemiTransparency :no-index: :type: Optional[System.Boolean] Whether the legend is semi-transparent. .. !! processed by numpydoc !! .. py:property:: LogarithmicScale :no-index: :type: Optional[System.Boolean] Whether the result values are distributed in a Logarithmic scale. .. !! processed by numpydoc !! .. py:property:: HighFidelity :no-index: :type: Optional[System.Boolean] Whether to replot and improve the synchronization of the result values. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: GetBandColor(index: System.Int32) -> System.UInt32 :no-index: Gets the color of the specified band. .. !! processed by numpydoc !! .. py:method:: SetBandColor(index: System.Int32, ColorValue: System.UInt32) -> System.Void :no-index: Sets the color of the specified band. .. !! processed by numpydoc !! .. py:method:: GetLowerBound(index: System.Int32) -> Ansys.Core.Units.Quantity :no-index: Gets lower bound value of the specified band. .. !! processed by numpydoc !! .. py:method:: SetLowerBound(index: System.Int32, value: Ansys.Core.Units.Quantity) -> System.Void :no-index: Sets lower bound value of the specified band. .. !! processed by numpydoc !! .. py:method:: GetUpperBound(index: System.Int32) -> Ansys.Core.Units.Quantity :no-index: Gets upper bound value of the specified band. .. !! processed by numpydoc !! .. py:method:: SetUpperBound(index: System.Int32, value: Ansys.Core.Units.Quantity) -> System.Void :no-index: Sets upper bound value of the specified band. .. !! processed by numpydoc !! .. py:method:: GetBandColorAuto(index: System.Int32) -> System.Boolean :no-index: Gets whether the specified band is set to Automatic or not. .. !! processed by numpydoc !! .. py:method:: SetBandColorAuto(index: System.Int32, val: System.Boolean) -> System.Void :no-index: Sets the specified band to Automatic. .. !! processed by numpydoc !! .. py:method:: GetUpperBandValueAuto(index: System.Int32) -> System.Boolean :no-index: Gets whether the specified upper band value is set to Automatic or not. .. !! processed by numpydoc !! .. py:method:: GetLowerBandValueAuto(index: System.Int32) -> System.Boolean :no-index: Gets whether the specified lower band value is set to Automatic or not. .. !! processed by numpydoc !! .. py:method:: ResetColors() -> System.Void :no-index: Resets all colors to default values. .. !! processed by numpydoc !! .. py:method:: Reset() -> System.Void :no-index: Resets all legend customizations into default values. .. !! processed by numpydoc !! .. py:method:: MakeCopy() -> Ansys.Mechanical.Graphics.Tools.LegendSettings :no-index: Makes a copy of the CurrentLegendSettings object. .. !! processed by numpydoc !! .. vale on