macros:function:programmer.editor.fixtures.getcontrolidfromname
Function
Programmer.Editor.Fixtures.GetControlIdFromName
Int32 Programmer.Editor.Fixtures.GetControlIdFromName(String controlName)
API | http://api.avolites.com/11.0/Programmer.Editor.Fixtures.GetControlIdFromName.html |
---|---|
description | Gets the control identifier from its name. |
namespace | Programmer.Editor.Fixtures |
parameter | controlName ( String ) : Name of the control. |
return value | Int32 - the control identifier. |
Example in
Programmer.Editor.Fixtures.SetControlOff(Programmer.Editor.Fixtures.GetControlIdFromName("Shutter"))
Above I have also used the GetControlIdFromName function to get the control/attribute ID which SetControlOff takes as a parameter, some of these are pre-defined such as Dimmer being 16 however many others are not.
Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/programmer.editor.fixtures.getcontrolidfromname.txt · Last modified: 2019/05/04 11:32 by icke_siegen