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

# DmxPatch

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

## Properties

#### **dummyChannels** : _int_

_UserName: Total channels_

#### **iChannel** : _int_

_UserName: Channel_

#### **iUniverse** : _int_

_UserName: Universe_

#### **isDummyPatch** : _bool_ _(Read-Only)_

#### **moveable** : _int_

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

## Methods

#### **getChannelOffset**(self, property: _[SockpuppetProperty](/python-api/docs/sockpuppetproperty#sockpuppetproperty)_) -> _int_

#### **getNaturalValue**(self, property: _[SockpuppetProperty](/python-api/docs/sockpuppetproperty#sockpuppetproperty)_, dmx: _[Dmx](/python-api/docs/dmx#dmx)_) -> _Any_

#### **setChannel**(self, property: _[SockpuppetProperty](/python-api/docs/sockpuppetproperty#sockpuppetproperty)_, channel: _int_)

Sets a property to a channel, either by reordering properties or increasing its offset

**Parameters**:

-   property: The property to change
-   channel: The channel to move the property to, a zero or negative channel will move the property to ch. 1

## Static Methods

#### **getDummyPersonality**() -> _[SockpuppetPersonality](/python-api/docs/sockpuppetpersonality#sockpuppetpersonality)_

#### **make**(iChannel: _int_, iUniverse: _int_, personality: _[SockpuppetPersonality](/python-api/docs/sockpuppetpersonality#sockpuppetpersonality)_) -> _[DmxPatch](/python-api/docs/dmxpatch#dmxpatch)_

#### **nChannels**(property: _[SockpuppetProperty](/python-api/docs/sockpuppetproperty#sockpuppetproperty)_) -> _int_

#### **staticTotalChannels**(personality: _[SockpuppetPersonality](/python-api/docs/sockpuppetpersonality#sockpuppetpersonality)_) -> _int_
