User Tools

Site Tools


macros:function:programmer.editor.fixtures.setcontrolprogrammer

Function

Programmer.Editor.Fixtures.SetControlProgrammer

Void Programmer.Editor.Fixtures.SetControlProgrammer(Int32 controlId, Boolean programmer)
API http://api.avolites.com/11.0/Programmer.Editor.Fixtures.SetControlProgrammer.html
description Sets a control's programmer state for the selected fixtures.
namespace Programmer.Editor.Fixtures
parameter controlId ( Int32 ) : The control id.
programmer ( Boolean ) : if set to true put the control in the programmer (at its present value), if false remove the control from the programmer.
return value Void
Example in

Off/On Attribute (snippets):

Programmer.Editor.Fixtures.SetControlProgrammer(Programmer.Editor.Fixtures.GetControlIdFromName("Shutter"), true)
To remove the Off flag you can call SetControlProgrammer, if the programmer parameter is set to true it will leave/put the value in the programmer (and remove the Off flag if there is one), if it is set to false the attribute will be cleared.
Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/programmer.editor.fixtures.setcontrolprogrammer.txt · Last modified: 2019/05/04 11:39 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki