AVOLITES TITAN API

SetControlValueById

Sets the attribute current value of all currently selected fixtures.

Namespace: Programmer.Editor.Fixtures

Syntax

MACRO

Void Programmer.Editor.Fixtures.SetControlValueById(Int32 controlId, Int32 functionId, Single value, Boolean programmer, Boolean createRestorePoint)

HTTP

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

Parameters

controlId ( Int32 ) : The attribute id.

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/SetControlValueById?controlId={titanId}&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/SetControlValueById?controlId={titanId}&functionId={titanId}&value={float}&programmer=true&createRestorePoint=true