disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

DmxChannelAttribute

Variables

Red8 = 0

Green8 = 1

Blue8 = 2

White8 = 3

Amber8 = 4

Cyan8 = 5

Magenta8 = 6

Yellow8 = 7

Red16 = 8

Green16 = 9

Blue16 = 10

White16 = 11

Amber16 = 12

Cyan16 = 13

Magenta16 = 14

Yellow16 = 15

MonoWeighted8 = 16

MonoMax8 = 17

MonoWeighted16 = 18

MonoMax16 = 19

Padding = 20

Constructors

__init__(self)

Default constructor for DmxChannelAttribute

__init__(self, other: DmxChannelAttribute)

Copy constructor for DmxChannelAttribute

Methods

toString(self) -> str

The name of this enumerator, or an empty string if its value is not a named enumerator

Static Methods

fromInt(arg0: int) -> DmxChannelAttribute

The enumerator with the given integer value, which need not be one of the named enumerators

Special Methods

__index__(self) -> int

The integer value of this enumerator, for use as a list index

__int__(self) -> int

The integer value of this enumerator

__repr__(self) -> str

The enum and enumerator names, as ; str() and print give the same

__lt__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__le__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__gt__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__ge__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError