---
title: "DmxFixtureType"
description: "API documentation for DmxFixtureType"
url: https://developer.disguise.one/python-api/docs/dmxfixturetype/
---

# DmxFixtureType

Allows users to define their own custom per-pixel DMX channel layouts in DMX Screens

See also: [Stage Guide](/plugins/guides/stage)

Base class (inherits properties and methods): _[Resource](/python-api/docs/resource#resource)_

## Properties

#### **attributes** : _List\[int\]_

Ordered list of channel attributes which define the DMX layout

_UserName: Channels_

#### **biLevelMono** : _bool_

Output binary levels only (0 or 255/65535) for mono max channels.

_UserName: Bi-Level Mono_

#### **dmxChannelsPerPixel** : _int_ _(Read-Only)_

Total number of DMX channels per pixel (sum of all attribute footprints)

the total DMX channel count per pixel

#### **invertMono** : _bool_

Invert the mono max output (255/65535 - value).

_UserName: Invert Mono_

#### **subtractWhite** : _bool_

Subtract white value from colour channels if a white channel is present.

_UserName: Subtract White_

## Variables

#### **Amber16** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Amber16

16-bit Amber channel

#### **Amber8** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Amber8

8-bit Amber channel

#### **Blue16** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Blue16

16-bit Blue channel

#### **Blue8** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Blue8

8-bit Blue channel

#### **Cyan16** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Cyan16

16-bit Cyan channel

#### **Cyan8** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Cyan8

8-bit Cyan channel

#### **Green16** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Green16

16-bit Green channel

#### **Green8** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Green8

8-bit Green channel

#### **Magenta16** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Magenta16

16-bit Magenta channel

#### **Magenta8** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Magenta8

8-bit Magenta channel

#### **MonoMax16** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.MonoMax16

16-bit Mono (max) channel

#### **MonoMax8** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.MonoMax8

8-bit Mono (max) channel

#### **MonoWeighted16** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.MonoWeighted16

16-bit Mono-weighted Sum channel

#### **MonoWeighted8** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.MonoWeighted8

8-bit Mono-weighted Sum channel

#### **Padding** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Padding

8-bit empty Padding channel

#### **Red16** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Red16

16-bit Red channel

#### **Red8** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Red8

8-bit Red channel

#### **White16** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.White16

16-bit White channel

#### **White8** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.White8

8-bit White channel

#### **Yellow16** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Yellow16

16-bit Yellow channel

#### **Yellow8** : _Final\[[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)\]_ = DmxChannelAttribute.Yellow8

8-bit Yellow channel

## Methods

#### **hasAny16BitChannels**(self) -> _bool_

Whether any 16-bit attributes are present

If we’re all 8 bit then we can work with 8 bit colour for better performance.

**Returns** true if any attribute is a 16-bit type

#### **numAttributes**(self) -> _int_

Return the number of attributes this fixture type contains

## Static Methods

#### **dmxFootprint**(attr: _[DmxChannelAttribute](/python-api/docs/dmxchannelattribute#dmxchannelattribute)_) -> _int_

Returns the number of DMX channels this attribute occupies(1 for 8-bit / padding, 2 for 16-bit).
