Skip to main content

Mechanical scripting interface

Colors

Last update: 14.01.2025

class Ansys.Mechanical.DataModel.Constants.Colors

Bases: object

Color constants, in BGR bitfield layout.

Overview

Properties

Name Description
Blue Blue property.
Cyan Cyan property.
Gray Gray property.
Green Green property.
Red Red property.
White White property.
Yellow Yellow property.

Property detail

property Colors.Blue : int | None

  • Classmethod:

Blue property.

property Colors.Cyan : int | None

  • Classmethod:

Cyan property.

property Colors.Gray : int | None

  • Classmethod:

Gray property.

property Colors.Green : int | None

  • Classmethod:

Green property.

property Colors.Red : int | None

  • Classmethod:

Red property.

property Colors.White : int | None

  • Classmethod:

White property.

property Colors.Yellow : int | None

  • Classmethod:

Yellow property.