AVOLITES TITAN API

SetControlValue

Sets the attribute current value of all currently selected fixtures.

Namespace: Programmer.Editor.Fixtures

Syntax

MACRO

Void Programmer.Editor.Fixtures.SetControlValue(IFixtureAttribute control, Int32 functionId, Single value, Boolean programmer, Boolean createRestorePoint)

HTTP

http://[ip]:4430/titan/script/2/Programmer/Editor/Fixtures/SetControlValue?control={}&functionId={titanId}&value={float}&programmer={bool}&createRestorePoint={bool}

Parameters

control ( IFixtureAttribute ) : The attribute.

functionId ( Int32 ) : The function id.

value ( Single ) : The value.

programmer ( Boolean ) : if set to true puts the attribute into the programmer.

programmer

HTTP Example:
http://localhost:4430/titan/script/2/Programmer/Editor/Fixtures/SetControlValue?control={}&functionId={titanId}&value={float}&programmer=true&createRestorePoint=true

createRestorePoint ( Boolean ) : should a restore point be created

createRestorePoint

HTTP Example:
http://localhost:4430/titan/script/2/Programmer/Editor/Fixtures/SetControlValue?control={}&functionId={titanId}&value={float}&programmer=true&createRestorePoint=true