IMechanicalTheme#

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

Bases: object

IMechanicalTheme interface.

Overview#

Name

The name of the theme as an enum value.

HexadecimalPalette

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

ColorPalette

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

IntPalette

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

Property detail#

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

The name of the theme as an enum value.

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.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.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