AVOLITES TITAN API

PatchFixtures

Patches fixtures - called from PatchMenu.xml and overloaded to perform work later on.

Namespace: Fixtures

Syntax

MACRO

Void Fixtures.PatchFixtures(String group, IEnumerable<Handle> handleList, String fixtureManufacturer, String fixtureName, String fixtureMode, Int32 currentFixtureQuantity, Int32 currentDmxSpacing, String patchedHandles)

HTTP

http://[ip]:4430/titan/script/2/Fixtures/PatchFixtures?group={string}&handleList={handleList}&fixtureManufacturer={string}&fixtureName={string}&fixtureMode={string}&currentFixtureQuantity={titanId}&currentDmxSpacing={titanId}&patchedHandles={string}

Parameters

group ( String ) : The bank type to patch to - Fixtures = touch screen, Presets = console handles. Other handles shouldn't be possible.

handleList ( IEnumerable<Handle> ) : Reference list of handles passed in by menu.

handleList_handleList

HTTP Example:
http://localhost:4430/titan/script/2/Fixtures/PatchFixtures?group={string}&handleList_handleList=1895,1896,1900&fixtureManufacturer={string}&fixtureName={string}&fixtureMode={string}&currentFixtureQuantity={titanId}&currentDmxSpacing={titanId}&patchedHandles={string}

handleList_userNumberList

HTTP Example:
http://localhost:4430/titan/script/2/Fixtures/PatchFixtures?group={string}&handleList_userNumberList=6,8,10&fixtureManufacturer={string}&fixtureName={string}&fixtureMode={string}&currentFixtureQuantity={titanId}&currentDmxSpacing={titanId}&patchedHandles={string}

fixtureManufacturer ( String ) : The fixture manufacturer.

fixtureName ( String ) : Name of the fixture.

fixtureMode ( String ) : The fixture mode.

currentFixtureQuantity ( Int32 ) : The current fixture quantity value.

currentDmxSpacing ( Int32 ) : The current DMX spacing to add between fixtures (default should be number of channels on fixture).

patchedHandles ( String ) : A menu system property to store the created fixture handles in.