Function
Void Programmer.Editor.Fixtures.SetControlValueById ( Int32 controlId, Int32 functionId, Single value, Boolean programmer, Boolean createRestorePoint )
API | http://api.avolites.com/10.1/Programmer.Editor.Fixtures.SetControlValueById.html |
---|---|
description | Sets the attribute current value of all currently selected fixtures. |
namespace | Programmer.Editor.Fixtures |
parameter | controlId ( Int32 ) : id of the attribute to set, see FixtureControlId |
functionId ( Int32 ) : id of the attribute function to set | |
value ( Single ) : the value to set the attribute to | |
programmer ( Boolean ) : if set to true puts the attribute into the programmer. | |
createRestorePoint ( Boolean ) : should a restore point be created | |
return value | Void |
tbd. elaborate on control ID and function ID
for the moment:
This is an untested example.
<step>Programmer.Editor.Fixtures.SetControlValueById(16, 1, 0.5, true, true)</step>
This should set the currently selected fixtures to 50% dimmer level, put this in the programmer and create a restore point:
See also Programmer.Editor.Fixtures.SetControlValueByName which takes the name of the attribute and function instead of requiring the ID numbers.