Skip to main content

Mechanical scripting interface 2025

`LegendColorSchemeType`

Last update: 09.03.2026

class Ansys.Mechanical.DataModel.Enums.LegendColorSchemeType(*args, **kwds)

Bases: enum.Enum

Specifies the Legend Color Scheme type.

Overview

Attributes

Name
GrayScale
Rainbow
ReverseGrayScale
ReverseRainbow

Attribute detail

LegendColorSchemeType.GrayScale = 2

LegendColorSchemeType.Rainbow = 0

LegendColorSchemeType.ReverseGrayScale = 4

LegendColorSchemeType.ReverseRainbow = 1

Connect with Ansys