IMechanicalTheme#

class ansys.mechanical.stubs.v241.Ansys.Mechanical.UI.Interfaces.IMechanicalTheme#

Bases: object

Overview#

ColorPalette

Palette object, which provides an entry point to get Mechnical UI's theme colors represented as Ansys.Utilities.Color objects

HexadecimalPalette

Palette object, which provides an entry point to get Mechnical UI's theme colors represented in Hexadecimal. ei. #FFFFFF

IntPalette

Palette object, which provides an entry point to get Mechnical UI's theme colors represented as integers formatted as BGR

Name

The name of the theme as an enum value.

Property detail#

property IMechanicalTheme.ColorPalette: Ansys.Mechanical.UI.Palette | None#

Palette object, which provides an entry point to get Mechnical UI's theme colors represented as Ansys.Utilities.Color objects

property IMechanicalTheme.HexadecimalPalette: Ansys.Mechanical.UI.Palette | None#

Palette object, which provides an entry point to get Mechnical UI's theme colors represented in Hexadecimal. ei. #FFFFFF

property IMechanicalTheme.IntPalette: Ansys.Mechanical.UI.Palette | None#

Palette object, which provides an entry point to get Mechnical UI's theme colors represented as integers formatted as BGR

property IMechanicalTheme.Name: Ansys.Mechanical.UI.Enums.ThemeName | None#

The name of the theme as an enum value.